Skip to content

31: Allow parse_workflow_config_parameter is also accept the type int#38

Merged
cwang39403 merged 1 commit intomainfrom
31-allow-parse_workflow_config_parameter-is-also-accept-the-int-type
Jun 4, 2024
Merged

31: Allow parse_workflow_config_parameter is also accept the type int#38
cwang39403 merged 1 commit intomainfrom
31-allow-parse_workflow_config_parameter-is-also-accept-the-int-type

Conversation

@cwang39403
Copy link
Copy Markdown
Contributor

  • Added an additional elif condition in the parse_workflow_config_parameter() function to handle the case when the expected_type is int, but receives float.
  • Added a corresponding test case.

@cwang39403 cwang39403 linked an issue Jun 3, 2024 that may be closed by this pull request
Comment thread src/omotes_sdk/internal/worker/params_dict.py
@cwang39403 cwang39403 merged commit f272e42 into main Jun 4, 2024
@cwang39403 cwang39403 deleted the 31-allow-parse_workflow_config_parameter-is-also-accept-the-int-type branch June 4, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow parse_workflow_config_parameter is also accept the type int

2 participants