Small cleanup; update teal and bump to 0.2.0a13

This commit is contained in:
Xavier Bustamante Talavera 2018-09-03 08:55:15 +02:00
parent 08a250f162
commit abad0fa392
3 changed files with 13 additions and 11 deletions

View File

@ -1,4 +1,4 @@
from distutils.version import StrictVersion from distutils.version import StrictVersion
__version__ = '0.2.0a12' __version__ = '0.2.0a13'
version = StrictVersion(__version__) version = StrictVersion(__version__)

View File

@ -7,6 +7,7 @@ from sqlalchemy_utils import PhoneNumber
from ereuse_devicehub.resources.event.models import Event, Trade from ereuse_devicehub.resources.event.models import Event, Trade
from ereuse_devicehub.resources.models import Thing from ereuse_devicehub.resources.models import Thing
from ereuse_devicehub.resources.tag.model import Tag
from ereuse_devicehub.resources.user import User from ereuse_devicehub.resources.user import User
from teal import enums from teal import enums
@ -39,6 +40,7 @@ class Organization(Agent):
def __init__(self, name: str, **kwargs): def __init__(self, name: str, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
self.members = ... # type: Set[Membership] self.members = ... # type: Set[Membership]
self.tags = ... # type: Set[Tag]
@classmethod @classmethod
def get_default_org_id(cls) -> uuid.UUID: def get_default_org_id(cls) -> uuid.UUID:

View File

@ -35,19 +35,19 @@ setup(
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
install_requires=[ install_requires=[
'teal>=0.2.0a11',
'marshmallow_enum',
'ereuse-utils[Naming]>=0.4b1',
'psycopg2-binary',
'requests',
'requests-toolbelt',
'hashids',
'click', 'click',
'click-spinner', 'click-spinner',
'sqlalchemy-utils[password, color, phone]', 'ereuse-rate==0.0.2',
'PyYAML', 'ereuse-utils[Naming]>=0.4b1',
'hashids',
'marshmallow_enum',
'psycopg2-binary',
'python-stdnum', 'python-stdnum',
'ereuse-rate==0.0.2' 'PyYAML',
'teal>=0.2.0a12',
'requests',
'requests-toolbelt',
'sqlalchemy-utils[password, color, phone]',
], ],
extras_require={ extras_require={
'docs': [ 'docs': [