hh-applicant-tool 0.6.4__tar.gz → 0.6.5__tar.gz

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.

Files changed (31) hide show
  1. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/PKG-INFO +1 -1
  2. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/clear_negotiations.py +5 -1
  3. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/pyproject.toml +1 -1
  4. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/README.md +0 -0
  5. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/__init__.py +0 -0
  6. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/__main__.py +0 -0
  7. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/ai/__init__.py +0 -0
  8. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/ai/blackbox.py +0 -0
  9. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/api/__init__.py +0 -0
  10. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/api/client.py +0 -0
  11. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/api/errors.py +0 -0
  12. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/color_log.py +0 -0
  13. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/constants.py +0 -0
  14. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/jsonc.py +0 -0
  15. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/main.py +0 -0
  16. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/mixins.py +0 -0
  17. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/__init__.py +0 -0
  18. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/apply_similar.py +0 -0
  19. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/authorize.py +0 -0
  20. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/call_api.py +0 -0
  21. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/config.py +0 -0
  22. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/delete_telemetry.py +0 -0
  23. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/get_employer_contacts.py +0 -0
  24. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/list_resumes.py +0 -0
  25. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/refresh_token.py +0 -0
  26. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/reply_employers.py +0 -0
  27. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/update_resumes.py +0 -0
  28. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/operations/whoami.py +0 -0
  29. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/telemetry_client.py +0 -0
  30. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/types.py +0 -0
  31. {hh_applicant_tool-0.6.4 → hh_applicant_tool-0.6.5}/hh_applicant_tool/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: hh-applicant-tool
3
- Version: 0.6.4
3
+ Version: 0.6.5
4
4
  Summary:
5
5
  Author: Senior YAML Developer
6
6
  Author-email: yamldeveloper@proton.me
@@ -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["employer"]
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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "hh-applicant-tool"
3
- version = "0.6.4"
3
+ version = "0.6.5"
4
4
  description = ""
5
5
  authors = ["Senior YAML Developer <yamldeveloper@proton.me>"]
6
6
  readme = "README.md"