def List(item_type):
    return factory(Array, {"item_type": item_type})
def List(item_type):
    return factory(TypedList, {'item_type': item_type})
def Dict(key_type, item_type):
    return factory(Map, {"key_type": key_type, "item_type": item_type})
def Dict(key_type, item_type):
    return factory(TypedDict, {'key_type': key_type, 'item_type': item_type})
Exemple #5
0
def List(item_type):
    return factory(Array, {'item_type': item_type})
Exemple #6
0
def Dict(key_type, item_type):
    return factory(Map, {'key_type': key_type, 'item_type': item_type})
Exemple #7
0
def List(item_type):
    return factory(TypedList, {'item_type': item_type})
Exemple #8
0
def Dict(key_type, item_type):
    return factory(TypedDict, {'key_type': key_type, 'item_type': item_type})