Skip to content

Commit d669d98

Browse files
committed
fix: fix for not being able to set variations against asset
1 parent 3573ae6 commit d669d98

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

h51/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __init__(self, client, document):
9696
}
9797

9898
else:
99-
self.variations = {}
99+
self._document['variations'] = {}
100100

101101
def __str__(self):
102102
return f'Asset: {self.uid}'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Versions should comply with PEP440. For a discussion on single-sourcing
2222
# the version across setup.py and the project code, see
2323
# https://packaging.python.org/en/latest/single_source_version.html
24-
version='0.0.6',
24+
version='0.0.7',
2525
description=\
2626
'The H51 Python library provides a pythonic interface to the H51 API.',
2727
long_description=long_description,

0 commit comments

Comments
 (0)