Exemplo n.º 1
0
 def _get_post_metric_name(self, iresource: IInterface) -> str:
     name = 'process.post'
     if iresource.isOrExtends(IProposalVersion):
         name = 'process.post.proposalversion'
     elif iresource.isOrExtends(IRateVersion):
         name = 'process.post.rateversion'
     return name
Exemplo n.º 2
0
 def _get_post_metric_name(self, iresource: IInterface) -> str:
     name = 'process.post'
     if iresource.isOrExtends(IProposalVersion):
         name = 'process.post.proposalversion'
     elif iresource.isOrExtends(IRateVersion):
         name = 'process.post.rateversion'
     return name
Exemplo n.º 3
0
 def __init__(self, interface: IInterface, config):
     assert interface.isOrExtends(Interface)
     self.interface = interface
Exemplo n.º 4
0
 def __init__(self, isheet: IInterface, config):
     assert isheet.isOrExtends(ISheet)
     self.isheet = isheet
Exemplo n.º 5
0
 def __init__(self, interface: IInterface, config):
     assert interface.isOrExtends(Interface)
     self.interface = interface
Exemplo n.º 6
0
 def __init__(self, isheet: IInterface, config):
     assert isheet.isOrExtends(ISheet)
     self.isheet = isheet