initial commit of types library

This commit is contained in:
evilchili
2023-12-23 16:41:21 -08:00
parent e073647e5d
commit f379d01f75
10 changed files with 415 additions and 92 deletions
+11
View File
@@ -0,0 +1,11 @@
from dnd_item import types
def test_item_attributes():
item = types.Item.from_dict(
foo='bar',
baz={
'qaz': True
}
)
assert item.baz.qaz is True