Skip to content

python workflow - #755

Merged
ydayagi merged 1 commit into
mainfrom
flpath2550
Aug 25, 2025
Merged

python workflow#755
ydayagi merged 1 commit into
mainfrom
flpath2550

Conversation

@ydayagi

@ydayagi ydayagi commented Aug 12, 2025

Copy link
Copy Markdown
Collaborator

Comment thread workflows/python/python.sw.yaml Outdated
Comment thread workflows/python/Dockerfile
Comment thread pipeline/workflow-builder.Dockerfile Outdated
@ydayagi

ydayagi commented Aug 20, 2025

Copy link
Copy Markdown
Collaborator Author

@masayag i need your review here. @gabriel-farache is on PTO

@elai-shalev elai-shalev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. maybe you could add another step to the workflow, at is a bit stubbed (one step workflow). maybe one step for python import scripts and another for the external script call.

Comment thread pipeline/workflow-builder.Dockerfile Outdated
Comment on lines +17 to +19
def calculate_sum(numbers):
"""Calculate sum of numbers"""
return sum(numbers)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you using this?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no. but this is an example for a real script with multiple functions. do u think i should remove the unused function?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the use to it, you just want to show that an external script has multiple functions and some are used and some are not?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly

@ydayagi

ydayagi commented Aug 21, 2025

Copy link
Copy Markdown
Collaborator Author

Looks good. maybe you could add another step to the workflow, at is a bit stubbed (one step workflow). maybe one step for python import scripts and another for the external script call.

I prefer to have one state. this makes the example more advanced and complex and user can understand the capabilities.

@ydayagi
ydayagi merged commit 3197a62 into main Aug 25, 2025
4 checks passed
@ydayagi
ydayagi deleted the flpath2550 branch August 25, 2025 07:52
orchestrator-ci pushed a commit that referenced this pull request Aug 25, 2025
orchestrator-ci pushed a commit that referenced this pull request Aug 25, 2025
orchestrator-ci pushed a commit that referenced this pull request Aug 25, 2025
orchestrator-ci pushed a commit that referenced this pull request Aug 25, 2025
orchestrator-ci pushed a commit that referenced this pull request Aug 25, 2025
orchestrator-ci pushed a commit that referenced this pull request Aug 25, 2025
orchestrator-ci pushed a commit that referenced this pull request Aug 25, 2025
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.

3 participants