Skip to content

docs: use decorators module throughout examples - #3946

Merged
seratch merged 1 commit into
mainfrom
refactor/examples-decorator-imports
Jul 27, 2026
Merged

docs: use decorators module throughout examples#3946
seratch merged 1 commit into
mainfrom
refactor/examples-decorator-imports

Conversation

@seratch

@seratch seratch commented Jul 24, 2026

Copy link
Copy Markdown
Member

This pull request updates all Agents SDK decorator usage under examples/ to import from agents.decorators. Function tool examples now prefer the concise tool alias, while guardrail decorators use the same canonical module.

It also documents this convention for future example and runnable documentation updates.

@seratch seratch added this to the 0.19.x milestone Jul 24, 2026
@seratch seratch added the documentation Improvements or additions to documentation label Jul 24, 2026
@seratch
seratch merged commit a6ce52d into main Jul 27, 2026
9 checks passed
@seratch
seratch deleted the refactor/examples-decorator-imports branch July 27, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant