Lines Matching refs:cls
101 def __new__(cls, **kwargs): argument
112 if not cls.tool_name:
115 allowed = ({constants.EXTERNAL} if cls._user_type == EXTERNAL_USER
117 fields = [k for k, v in vars(cls).items()
123 params = {'user_key': cls._user_key,
124 'run_id': cls._run_id,
125 'user_type': cls._user_type,
126 'tool_name': cls.tool_name,
127 cls._EVENT_NAME: fields_and_values}
128 log_event = cls._build_full_event(
129 ATEST_EVENTS[cls._user_type](**params))
130 cls.cc.log(log_event)
131 return cls.cc
134 def _build_full_event(cls, atest_event): argument