Skip to content

Commit

Permalink
fix: upgrade python version (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauljabin authored Nov 6, 2024
1 parent 97dcb4f commit d3b8671
Show file tree
Hide file tree
Showing 4 changed files with 290 additions and 258 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion sdk-python/littlehorse/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1950,6 +1950,7 @@ def create_external_event_def(
stub.PutExternalEventDef(request, timeout=timeout)
logging.info(f"ExternalEventDef {name} was created:\n{to_json(request)}")


def create_workflow_event_def(
name: str, type: VariableType, config: LHConfig, timeout: Optional[int] = None
) -> None:
Expand All @@ -1963,4 +1964,4 @@ def create_workflow_event_def(
stub = config.stub()
request = PutWorkflowEventDefRequest(name=name, type=type)
stub.PutWorkflowEventDef(request, timeout=timeout)
logging.info(f"WorkflowEventDef {name} was created:\n{to_json(request)}")
logging.info(f"WorkflowEventDef {name} was created:\n{to_json(request)}")
Loading

0 comments on commit d3b8671

Please sign in to comment.