Skip to content

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdellahitech committed Aug 30, 2024
1 parent 36979c3 commit 827c27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def make_token_request(data):
f"Token request failed with status code {response.status_code}: {response.text}"
)


def login_to_bullhorn(access_token):
"""
Log in to Bullhorn using the obtained access token.
Expand All @@ -57,6 +58,7 @@ def login_to_bullhorn(access_token):
f" {response.text}"
)


def get_or_refresh_token(
grant_type, client_id, client_secret, ttl=None, code=None, refresh_token=None
):
Expand Down
22 changes: 0 additions & 22 deletions src/hrflow_connectors/connectors/bullhorn/warehouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,28 +73,6 @@ class WriteApplicationsParameters(BaseParameters):
field_type=FieldType.Auth,
)

class ReadJobsParameters(BaseParameters):
last_modified_date: str = Field(
...,
description="Last Modified Date in timestamp",
repr=False,
field_type=FieldType.Auth,
)

fields: str = Field(
...,
description="Fields to be retrieved from Bullhorn",
repr=False,
field_type=FieldType.Auth,
)

query: str = Field(
...,
description="the query parameters",
repr=False,
field_type=FieldType.Auth,
)


class ReadJobsParameters(BaseParameters):
last_modified_date: str = Field(
Expand Down

0 comments on commit 827c27c

Please sign in to comment.