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

better common error section #15271

Merged
merged 5 commits into from
Sep 8, 2024
Merged

better common error section #15271

merged 5 commits into from
Sep 8, 2024

Conversation

zzstoatzz
Copy link
Collaborator

@zzstoatzz zzstoatzz commented Sep 7, 2024

#14996 removed this section because the code example was distracting and detracted from the main point, which was to make sure these common errors are searchable and have concrete suggestions to resolve them

this PR reintroduces the section with the intent of being more clear about what to change / why this is happening

image

Copy link
Member

@cicdw cicdw left a comment

Choose a reason for hiding this comment

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

request callout to _sync, otherwise LGTM

docs/3.0/resources/upgrade-to-prefect-3.mdx Outdated Show resolved Hide resolved
docs/3.0/resources/upgrade-to-prefect-3.mdx Outdated Show resolved Hide resolved
docs/3.0/resources/upgrade-to-prefect-3.mdx Outdated Show resolved Hide resolved
docs/3.0/resources/upgrade-to-prefect-3.mdx Outdated Show resolved Hide resolved
docs/3.0/resources/upgrade-to-prefect-3.mdx Show resolved Hide resolved
docs/3.0/resources/upgrade-to-prefect-3.mdx Show resolved Hide resolved
For example, `my_task.submit(...)` is _always_ synchronous in Prefect 3.x:

<CodeGroup>
```python Wrong
Copy link
Member

Choose a reason for hiding this comment

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

This is such a small nit but if this is "Wrong" I'd expect the other tab to be "Right." If the other tab is "Correct" I'd expect this one to be "Incorrect."

@jlowin
Copy link
Member

jlowin commented Sep 7, 2024

Thank you for updating @zzstoatzz!

@zzstoatzz zzstoatzz merged commit b368dd9 into main Sep 8, 2024
4 checks passed
@zzstoatzz zzstoatzz deleted the reintroduce-common-err-section branch September 8, 2024 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants