示例#1
0
文件: resource.py 项目: eReuse/teal
 def resource(cls: Type['Schema']) -> str:
     """The resource name of this schema."""
     return Naming.resource(cls.t)
示例#2
0
文件: resource.py 项目: eReuse/teal
 def resource(cls):
     return Naming.resource(cls.type)