mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
implemented delitem too
This commit is contained in:
parent
6116a27677
commit
0bad1078ab
1 changed files with 3 additions and 0 deletions
|
|
@ -304,6 +304,9 @@ class PublishAttributes:
|
|||
else:
|
||||
self._data[key] = value
|
||||
|
||||
def __delitem__(self, key):
|
||||
self.pop(key)
|
||||
|
||||
def __contains__(self, key):
|
||||
return key in self._data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue