You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a model has a string primary key, you can change it via update. Everything works OK, but it prints a contradictory warning message ("Registry <old_id> doesn't exist")
Example:
/usr/src/app # python -m my_module config js create --id "foobar"
You are about to create the following entry:
id 'miao'
Are you sure? [y/N]: y
The following entry was created:
id 'miao'
# Then the following
/usr/src/app # python -m my_module config js update 'foobar' --id "barfoo"
You are about to update the following record:
id 'foobar'
With the following information:
id barfoo
Are you sure? [y/N]: y
Changed 1 records.
Registry foobar does not exists.
The text was updated successfully, but these errors were encountered:
If a model has a string primary key, you can change it via update. Everything works OK, but it prints a contradictory warning message ("Registry <old_id> doesn't exist")
Example:
The text was updated successfully, but these errors were encountered: