Пример #1
0
 def resource(cls: Type['Schema']) -> str:
     """The resource name of this schema."""
     return Naming.resource(cls.t)
Пример #2
0
 def resource(cls):
     return Naming.resource(cls.type)