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

        results = schemas.ListType(schemas.StringType)
コード例 #2
0
ファイル: test_decorators.py プロジェクト: ron-t/sdk-py
 class SchemaExample(schemas.Model):
     arg1 = schemas.StringType(required=True)
     arg2 = schemas.ListType(schemas.IntType)
コード例 #3
0
ファイル: schemas_tests.py プロジェクト: yjst2012/sdk-py
        class SchemaExample(schemas.Model):

            string_list = schemas.ListType(schemas.StringType)