|
| 1 | +from eolymp.executor import script_pb2 as _script_pb2 |
| 2 | +from google.protobuf.internal import containers as _containers |
| 3 | +from google.protobuf import descriptor as _descriptor |
| 4 | +from google.protobuf import message as _message |
| 5 | +from collections.abc import Mapping as _Mapping |
| 6 | +from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union |
| 7 | + |
| 8 | +DESCRIPTOR: _descriptor.FileDescriptor |
| 9 | + |
| 10 | +class StressTask(_message.Message): |
| 11 | + __slots__ = ("task_id", "reference", "origin", "metadata", "wall_time_limit", "cpu_time_limit", "memory_limit", "iteration_count", "run_count", "interactive_followup", "interactor", "validator", "generator", "solution") |
| 12 | + class MetadataEntry(_message.Message): |
| 13 | + __slots__ = ("key", "value") |
| 14 | + KEY_FIELD_NUMBER: _ClassVar[int] |
| 15 | + VALUE_FIELD_NUMBER: _ClassVar[int] |
| 16 | + key: str |
| 17 | + value: str |
| 18 | + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... |
| 19 | + TASK_ID_FIELD_NUMBER: _ClassVar[int] |
| 20 | + REFERENCE_FIELD_NUMBER: _ClassVar[int] |
| 21 | + ORIGIN_FIELD_NUMBER: _ClassVar[int] |
| 22 | + METADATA_FIELD_NUMBER: _ClassVar[int] |
| 23 | + WALL_TIME_LIMIT_FIELD_NUMBER: _ClassVar[int] |
| 24 | + CPU_TIME_LIMIT_FIELD_NUMBER: _ClassVar[int] |
| 25 | + MEMORY_LIMIT_FIELD_NUMBER: _ClassVar[int] |
| 26 | + ITERATION_COUNT_FIELD_NUMBER: _ClassVar[int] |
| 27 | + RUN_COUNT_FIELD_NUMBER: _ClassVar[int] |
| 28 | + INTERACTIVE_FOLLOWUP_FIELD_NUMBER: _ClassVar[int] |
| 29 | + INTERACTOR_FIELD_NUMBER: _ClassVar[int] |
| 30 | + VALIDATOR_FIELD_NUMBER: _ClassVar[int] |
| 31 | + GENERATOR_FIELD_NUMBER: _ClassVar[int] |
| 32 | + SOLUTION_FIELD_NUMBER: _ClassVar[int] |
| 33 | + task_id: str |
| 34 | + reference: str |
| 35 | + origin: str |
| 36 | + metadata: _containers.ScalarMap[str, str] |
| 37 | + wall_time_limit: int |
| 38 | + cpu_time_limit: int |
| 39 | + memory_limit: int |
| 40 | + iteration_count: int |
| 41 | + run_count: int |
| 42 | + interactive_followup: bool |
| 43 | + interactor: _script_pb2.Script |
| 44 | + validator: _script_pb2.Script |
| 45 | + generator: _script_pb2.Script |
| 46 | + solution: _script_pb2.Script |
| 47 | + def __init__(self, task_id: _Optional[str] = ..., reference: _Optional[str] = ..., origin: _Optional[str] = ..., metadata: _Optional[_Mapping[str, str]] = ..., wall_time_limit: _Optional[int] = ..., cpu_time_limit: _Optional[int] = ..., memory_limit: _Optional[int] = ..., iteration_count: _Optional[int] = ..., run_count: _Optional[int] = ..., interactive_followup: bool = ..., interactor: _Optional[_Union[_script_pb2.Script, _Mapping]] = ..., validator: _Optional[_Union[_script_pb2.Script, _Mapping]] = ..., generator: _Optional[_Union[_script_pb2.Script, _Mapping]] = ..., solution: _Optional[_Union[_script_pb2.Script, _Mapping]] = ...) -> None: ... |
0 commit comments