Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start of Python QS doc #3495

Merged
merged 14 commits into from
Jun 7, 2023
Merged

Conversation

greenie-msft
Copy link
Collaborator

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within codetabs
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:

Description

Adds python section to WF quickstart

Issue reference

#3377

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
@greenie-msft greenie-msft requested review from a team as code owners June 6, 2023 17:38
Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
Copy link
Collaborator

@hhunter-ms hhunter-ms left a comment

Choose a reason for hiding this comment

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

initial review

@msfussell msfussell added this to the 1.11 milestone Jun 6, 2023
greenie-msft and others added 5 commits June 6, 2023 13:13
…start.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Signed-off-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
…start.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Signed-off-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
…start.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Signed-off-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
…start.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Signed-off-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
greenie-msft and others added 4 commits June 6, 2023 14:44
…start.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Signed-off-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
workflowRuntime.register_activity(update_inventory_activity)
workflowRuntime.start()

print("==========Begin the purchase of item:==========", flush=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems we have missed few lines here, like daprClient instantiation etc.

ref: https://github.com/dapr/quickstarts/blob/master/workflows/python/sdk/order-processor/app.py#L34C9-L40

- The workflow and the workflow activities it invokes are registered

```python
class WorkflowConsoleApp:
Copy link
Contributor

Choose a reason for hiding this comment

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

In Step 2, we asked to git clone quickstarts package.
Do we need to provide app.py and workflow.py here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry, can you clarify what you're suggesting we change?Sorry, can you clarify what you're suggesting we change?

@hhunter-ms hhunter-ms merged commit 45c23a8 into dapr:v1.11 Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants