Give a company a by-hand reason and a date last checked, in migration 15
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0a1d3c67c7
commit
a466ea52b7
4 files changed
+120
-19
No files matched your search
@@ -644,6 +644,16 @@ STATUSES: tuple[str, ...] = get_args(Status)
|
||||
#: -1 mute, 0 neutral, 1 interested, 2 favourite (skips gates, floors the score).
|
||||
AFFINITY = range(-1, 3)
|
||||
|
||||
#: Why a company is on the list checked by hand. `unread` is a host the app
|
||||
#: could read and has no parser for yet, `robots` a site whose robots.txt
|
||||
#: disallows it, `blocked` one that answers a program with a challenge, `key`
|
||||
#: one whose API answers only with a key lifted from its own script, `group` a
|
||||
#: company that sits inside its owner's board, `gone` one whose site is dead,
|
||||
#: and `added` one put there by hand or by an import and not looked at. ''
|
||||
#: is none of these: the company is read, or is not a matter for the list.
|
||||
HandReason = Literal["", "unread", "robots", "blocked", "key", "group", "gone", "added"]
|
||||
HAND_REASONS: tuple[str, ...] = get_args(HandReason)
|
||||
|
||||
|
||||
# -------------------------------------------------------------- posting dates
|
||||
|
||||
@@ -924,6 +934,12 @@ class Company(Model):
|
||||
#: The name `ats` knows the company by, the `acme` of acme.teamtailor.com;
|
||||
#: "" where discovery found none. Kept for a host no parser reads yet.
|
||||
ats_slug: str = ""
|
||||
#: Why the company is read by hand, one of `HAND_REASONS`; "" when it is
|
||||
#: not on that list.
|
||||
hand_reason: str = ""
|
||||
#: When a person last looked at its careers page, an ISO timestamp; ""
|
||||
#: for never.
|
||||
checked_at: str = ""
|
||||
created_at: str
|
||||
updated_at: str
|
||||
|
||||
|
||||
Reference in new issue
Block a user