Spaces:
Runtime error
Runtime error
from google.protobuf.internal import containers as _containers | |
from google.protobuf import descriptor as _descriptor | |
from google.protobuf import message as _message | |
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union | |
DESCRIPTOR: _descriptor.FileDescriptor | |
class Entity(_message.Message): | |
__slots__ = ["end", "entity", "level", "origin", "start", "text"] | |
END_FIELD_NUMBER: _ClassVar[int] | |
ENTITY_FIELD_NUMBER: _ClassVar[int] | |
LEVEL_FIELD_NUMBER: _ClassVar[int] | |
ORIGIN_FIELD_NUMBER: _ClassVar[int] | |
START_FIELD_NUMBER: _ClassVar[int] | |
TEXT_FIELD_NUMBER: _ClassVar[int] | |
end: int | |
entity: str | |
level: str | |
origin: str | |
start: int | |
text: str | |
def __init__(self, entity: _Optional[str] = ..., start: _Optional[int] = ..., end: _Optional[int] = ..., text: _Optional[str] = ..., origin: _Optional[str] = ..., level: _Optional[str] = ...) -> None: ... | |
class JobEntity(_message.Message): | |
__slots__ = ["company", "end", "start"] | |
COMPANY_FIELD_NUMBER: _ClassVar[int] | |
END_FIELD_NUMBER: _ClassVar[int] | |
START_FIELD_NUMBER: _ClassVar[int] | |
company: Entity | |
end: Entity | |
start: Entity | |
def __init__(self, start: _Optional[_Union[Entity, _Mapping]] = ..., end: _Optional[_Union[Entity, _Mapping]] = ..., company: _Optional[_Union[Entity, _Mapping]] = ...) -> None: ... | |
class PingRequest(_message.Message): | |
__slots__ = ["ping"] | |
PING_FIELD_NUMBER: _ClassVar[int] | |
ping: str | |
def __init__(self, ping: _Optional[str] = ...) -> None: ... | |
class PongResponse(_message.Message): | |
__slots__ = ["done"] | |
DONE_FIELD_NUMBER: _ClassVar[int] | |
done: str | |
def __init__(self, done: _Optional[str] = ...) -> None: ... | |
class ResumeEntitiesResponse(_message.Message): | |
__slots__ = ["ages", "edus", "emails", "genders", "jobs", "names", "phones", "schools", "titles", "work_years"] | |
AGES_FIELD_NUMBER: _ClassVar[int] | |
EDUS_FIELD_NUMBER: _ClassVar[int] | |
EMAILS_FIELD_NUMBER: _ClassVar[int] | |
GENDERS_FIELD_NUMBER: _ClassVar[int] | |
JOBS_FIELD_NUMBER: _ClassVar[int] | |
NAMES_FIELD_NUMBER: _ClassVar[int] | |
PHONES_FIELD_NUMBER: _ClassVar[int] | |
SCHOOLS_FIELD_NUMBER: _ClassVar[int] | |
TITLES_FIELD_NUMBER: _ClassVar[int] | |
WORK_YEARS_FIELD_NUMBER: _ClassVar[int] | |
ages: _containers.RepeatedCompositeFieldContainer[Entity] | |
edus: _containers.RepeatedCompositeFieldContainer[Entity] | |
emails: _containers.RepeatedCompositeFieldContainer[Entity] | |
genders: _containers.RepeatedCompositeFieldContainer[Entity] | |
jobs: _containers.RepeatedCompositeFieldContainer[JobEntity] | |
names: _containers.RepeatedCompositeFieldContainer[Entity] | |
phones: _containers.RepeatedCompositeFieldContainer[Entity] | |
schools: _containers.RepeatedCompositeFieldContainer[Entity] | |
titles: _containers.RepeatedCompositeFieldContainer[Entity] | |
work_years: int | |
def __init__(self, names: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ..., emails: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ..., phones: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ..., schools: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ..., edus: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ..., ages: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ..., genders: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ..., work_years: _Optional[int] = ..., jobs: _Optional[_Iterable[_Union[JobEntity, _Mapping]]] = ..., titles: _Optional[_Iterable[_Union[Entity, _Mapping]]] = ...) -> None: ... | |
class TextRequest(_message.Message): | |
__slots__ = ["text"] | |
TEXT_FIELD_NUMBER: _ClassVar[int] | |
text: str | |
def __init__(self, text: _Optional[str] = ...) -> None: ... | |