diff options
author | Brian Waldon <bcwaldon@gmail.com> | 2012-06-07 13:27:46 -0700 |
---|---|---|
committer | Brian Waldon <bcwaldon@gmail.com> | 2012-06-07 13:27:46 -0700 |
commit | f25ce31640ec30429cd6408ee6e768e9788f9af3 (patch) | |
tree | c5df7d3d74ae7dd3b1edcd2b20727881df6ed464 /warlock/core.py | |
parent | d5a35f967616d527c17abe97dca4140da3b29951 (diff) | |
download | warlock-f25ce31640ec30429cd6408ee6e768e9788f9af3.tar.gz |
Cast schema name to string
Diffstat (limited to 'warlock/core.py')
-rw-r--r-- | warlock/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/warlock/core.py b/warlock/core.py index e4a070a..205c221 100644 --- a/warlock/core.py +++ b/warlock/core.py @@ -53,5 +53,5 @@ def model_factory(schema): raise InvalidOperation() self.__dict__['raw'] = mutation - Model.__name__ = schema['name'] + Model.__name__ = str(schema['name']) return Model |