Skip to content

Python async - #142

Open
melindafekete wants to merge 7 commits into
mainfrom
python-async
Open

melindafekete wants to merge 7 commits into
mainfrom
python-async

Conversation

@melindafekete

@melindafekete melindafekete commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Small cheeky restructure + introduce async client

@melindafekete melindafekete self-assigned this Aug 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🌿 Preview your docs: https://unleash-preview-python-async.docs.buildwithfern.com

Here are the markdown pages you've updated:

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Expands the Python SDK documentation with async-client guidance and broader SDK reference content.

Changes:

  • Adds sync and async initialization examples.
  • Documents configuration, events, metrics, caching, testing, and troubleshooting.
  • Refreshes terminology and code examples.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread fern/pages/sdks/backend/python.mdx Outdated
Comment thread fern/pages/sdks/backend/python.mdx
Comment thread fern/pages/sdks/backend/python.mdx
Comment thread fern/pages/sdks/backend/python.mdx

@ppicom ppicom left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

hey melinda! Awesome work, I've left a few comments that came to mind while reading the draft.

Maybe it's a good idea to wait before merging this one, though. We're not entirely done with the async client and there could be some changes on how the internals work.

Comment thread fern/pages/sdks/backend/python.mdx
Comment thread fern/pages/sdks/backend/python.mdx
Comment thread fern/pages/sdks/backend/python.mdx
Comment thread fern/pages/sdks/backend/python.mdx
Comment on lines +320 to +322
- `appName` and `environment` are set from the client configuration.
- `currentTime` is set to the current UTC time when you don't provide it, so date-based constraints work without extra setup.
- Any top-level key that isn't a standard context field is moved into `properties`. Passing `{"custom-property": "some-value"}` at the top level is equivalent to nesting it under `properties`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

question: aren't this internals of the SDK? Do users use this information?

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.

hmm I feel like it sits in the category of observable behavior that users depend on. it explains why date constraints work without passing currentTime, and why a top-level custom property behaves the same as one nested under properties. I think it's better to document then have them discover it by trial and error? but happy to remove if we think that's better

Comment thread fern/pages/sdks/backend/python.mdx
Comment thread fern/pages/sdks/backend/python.mdx Outdated
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