-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1036 from PrefectHQ/end-turn
Refactor agents/teams/end-turn functions
- Loading branch information
Showing
21 changed files
with
569 additions
and
793 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
description: | ||
globs: | ||
--- | ||
|
||
# Python Style | ||
|
||
- Marvin supports Python 3.10+ | ||
- Use modern syntax and full type annotations | ||
- Use | instead of Union | ||
- Use builtins like list, dict instead of typing.List and typing.Dict | ||
- use | None instead of Optional | ||
- Always type optional keyword arguments correctly e.g. def f(x: int | None = None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.