hh-applicant-tool 0.6.4__py3-none-any.whl → 0.6.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hh-applicant-tool might be problematic. Click here for more details.
- hh_applicant_tool/operations/apply_similar.py +11 -0
- hh_applicant_tool/operations/clear_negotiations.py +5 -1
- {hh_applicant_tool-0.6.4.dist-info → hh_applicant_tool-0.6.6.dist-info}/METADATA +1 -1
- {hh_applicant_tool-0.6.4.dist-info → hh_applicant_tool-0.6.6.dist-info}/RECORD +6 -6
- {hh_applicant_tool-0.6.4.dist-info → hh_applicant_tool-0.6.6.dist-info}/WHEEL +0 -0
- {hh_applicant_tool-0.6.4.dist-info → hh_applicant_tool-0.6.6.dist-info}/entry_points.txt +0 -0
|
@@ -35,6 +35,7 @@ class Namespace(BaseNamespace):
|
|
|
35
35
|
page_interval: tuple[float, float]
|
|
36
36
|
order_by: str
|
|
37
37
|
search: str
|
|
38
|
+
schedule: str
|
|
38
39
|
dry_run: bool
|
|
39
40
|
|
|
40
41
|
|
|
@@ -100,6 +101,13 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
100
101
|
type=str,
|
|
101
102
|
default=None,
|
|
102
103
|
)
|
|
104
|
+
|
|
105
|
+
parser.add_argument(
|
|
106
|
+
"--schedule",
|
|
107
|
+
help="Тип графика. Возможные значения: fullDay, shift, flexible, remote, flyInFlyOut для полного дня, сменного графика, гибкого графика, удаленной работы и вахтового метода",
|
|
108
|
+
type=str,
|
|
109
|
+
default=None,
|
|
110
|
+
)
|
|
103
111
|
parser.add_argument(
|
|
104
112
|
"--dry-run",
|
|
105
113
|
help="Не отправлять отклики, а только выводить параметры запроса",
|
|
@@ -147,6 +155,7 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
147
155
|
self.force_message = args.force_message
|
|
148
156
|
self.order_by = args.order_by
|
|
149
157
|
self.search = args.search
|
|
158
|
+
self.schedule = args.schedule
|
|
150
159
|
self.dry_run = args.dry_run
|
|
151
160
|
self._apply_similar()
|
|
152
161
|
|
|
@@ -359,6 +368,8 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
359
368
|
}
|
|
360
369
|
if self.search:
|
|
361
370
|
params["text"] = self.search
|
|
371
|
+
if self.schedule:
|
|
372
|
+
params['schedule'] = self.schedule
|
|
362
373
|
res: ApiListResponse = self.api_client.get(
|
|
363
374
|
f"/resumes/{self.resume_id}/similar_vacancies", params
|
|
364
375
|
)
|
|
@@ -16,6 +16,7 @@ logger = logging.getLogger(__package__)
|
|
|
16
16
|
class Namespace(BaseNamespace):
|
|
17
17
|
older_than: int
|
|
18
18
|
blacklist_discard: bool
|
|
19
|
+
all: bool
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
class Operation(BaseOperation):
|
|
@@ -93,7 +94,10 @@ class Operation(BaseOperation):
|
|
|
93
94
|
")",
|
|
94
95
|
)
|
|
95
96
|
if is_discard and args.blacklist_discard:
|
|
96
|
-
employer = vacancy
|
|
97
|
+
employer = vacancy.get("employer", {})
|
|
98
|
+
if not employer or 'id' not in employer:
|
|
99
|
+
# Работодатель удален или скрыт
|
|
100
|
+
continue
|
|
97
101
|
try:
|
|
98
102
|
r = api_client.put(f"/employers/blacklisted/{employer['id']}")
|
|
99
103
|
assert not r
|
|
@@ -11,10 +11,10 @@ hh_applicant_tool/jsonc.py,sha256=QNS4gRHfi7SAeOFnffAIuhH7auC4Y4HAkmH12eX5PkI,40
|
|
|
11
11
|
hh_applicant_tool/main.py,sha256=A4YPkNXAdZY0GoGm0iigiQtzXTrpR3SaIGo54q9-Dd0,5652
|
|
12
12
|
hh_applicant_tool/mixins.py,sha256=8VoyrNgdlljy6pLTSFGJOYd9kagWT3yFOZYIGR6MEbI,425
|
|
13
13
|
hh_applicant_tool/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
hh_applicant_tool/operations/apply_similar.py,sha256=
|
|
14
|
+
hh_applicant_tool/operations/apply_similar.py,sha256=VDK3QmdtuSJy4zxwhccDCUz1kEX7ypLpt7Wk8rNbZX8,16058
|
|
15
15
|
hh_applicant_tool/operations/authorize.py,sha256=NYrxe6oemUBcDHioT1t1lJmi9l45V4ZXzQPD_-nf6hk,3328
|
|
16
16
|
hh_applicant_tool/operations/call_api.py,sha256=o3GZgtqk6w4zpCm-JTHVjFrKVOwW-vsu1HdRi-hqAjo,1423
|
|
17
|
-
hh_applicant_tool/operations/clear_negotiations.py,sha256=
|
|
17
|
+
hh_applicant_tool/operations/clear_negotiations.py,sha256=FG_43P5GWmfKUggkKZqDznQ2_iBJ3zrZtv8yEI2XOXQ,4527
|
|
18
18
|
hh_applicant_tool/operations/config.py,sha256=BzGWbHwNlXIpYHxnZUidDZTk1-7GZb8UL-asy8w4uN4,1390
|
|
19
19
|
hh_applicant_tool/operations/delete_telemetry.py,sha256=JHdh_l7IJL_qy5AIIy8FQpUupmH60D3a6zjfEVKkT2U,986
|
|
20
20
|
hh_applicant_tool/operations/get_employer_contacts.py,sha256=Sd-x3O08bmKm1OGVLtJ6rcPZ_j1jwjlqKV4z1n_G-38,9918
|
|
@@ -26,7 +26,7 @@ hh_applicant_tool/operations/whoami.py,sha256=pNWJMmEQLBk3U6eiGz4CHcX7eXzDXcfezF
|
|
|
26
26
|
hh_applicant_tool/telemetry_client.py,sha256=1EKZWc5kMx2yERW9SrR9vaf-OB6M_KKcMXeicH5YyY0,3834
|
|
27
27
|
hh_applicant_tool/types.py,sha256=q3yaIcq-UOkPzjxws0OFa4w9fTty-yx79_dic70_dUM,843
|
|
28
28
|
hh_applicant_tool/utils.py,sha256=3T4A2AykGqTwtGAttmYplIjHwFl3pNAcbWIVuA-OheQ,3080
|
|
29
|
-
hh_applicant_tool-0.6.
|
|
30
|
-
hh_applicant_tool-0.6.
|
|
31
|
-
hh_applicant_tool-0.6.
|
|
32
|
-
hh_applicant_tool-0.6.
|
|
29
|
+
hh_applicant_tool-0.6.6.dist-info/METADATA,sha256=qQBrCk2-s6rKkEfJ_zMAwkB3oj3uLpsi5V0J-L42BRo,20600
|
|
30
|
+
hh_applicant_tool-0.6.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
31
|
+
hh_applicant_tool-0.6.6.dist-info/entry_points.txt,sha256=Vb7M2YaYLMtKYJZh8chIrXZApMzSRFT1-rQw-U9r10g,65
|
|
32
|
+
hh_applicant_tool-0.6.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|