Spaces:
Runtime error
Runtime error
File size: 3,723 Bytes
f0b9b57 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
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: ...
|