コード例 #1
0
ファイル: schemas_tests.py プロジェクト: yjst2012/sdk-py
        class SchemaExample(schemas.Model):

            area_list = schemas.StringListType(schemas.StringModelType(
                schemas.Area),
                                               separator="+")
            string_list = schemas.StringListType(schemas.StringType,
                                                 separator="+")
コード例 #2
0
ファイル: schemas_tests.py プロジェクト: yjst2012/sdk-py
        class SchemaExample(schemas.Model):

            location = schemas.StringModelType(schemas.Location)
コード例 #3
0
ファイル: schemas_tests.py プロジェクト: yjst2012/sdk-py
        class SchemaExample(schemas.Model):

            my_model = schemas.StringModelType(MyModel)
コード例 #4
0
ファイル: schemas_tests.py プロジェクト: yjst2012/sdk-py
        class SchemaExample(schemas.Model):

            area = schemas.StringModelType(schemas.Area)