Skip to content

Commit

Permalink
core: remove obsolete FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Sep 10, 2024
1 parent a516f55 commit 866e16e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/hrflow_connectors/core/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,6 @@ def manifest(self, connectors_directory: Path) -> t.Dict:
format_placeholder = action.WORKFLOW_FORMAT_PLACEHOLDER
logics_placeholder = action.WORKFLOW_LOGICS_PLACEHOLDER
event_parser_placeholder = action.WORKFLOW_EVENT_PARSER_PLACEHOLDER
# FIXME: use model.subtype instead of model.name.lower().replace(" ", "")
jsonmap_path = (
connectors_directory
/ model.subtype
Expand Down
3 changes: 1 addition & 2 deletions src/hrflow_connectors/core/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,9 @@ def update_root_readme(
)
else:
model = connector["object"].model
# FIXME: use model.subtype instead of model.name.lower().replace(" ", "")
result = subprocess.run(
GIT_UPDATE_DATE.format(
connector=model.name.lower().replace(" ", ""),
connector=model.subtype,
base_connector_path=BASE_CONNECTOR_PATH.get().rstrip("/"),
),
shell=True,
Expand Down

0 comments on commit 866e16e

Please sign in to comment.