- 
                Notifications
    You must be signed in to change notification settings 
- Fork 406
          Write union types as X | Y where possible
          #19111
        
          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
base: develop
Are you sure you want to change the base?
Conversation
Checked, but not auto-fixed, by the Ruff rules
Not done automatically by Ruff
Leave Unions / Optionals with string types as they are, just like in source code
X | Y where possible
      as `X | Y` is used not only for annotations, but also type aliases
| The  Thankfully, there's already a PR for enforcing Pydantic v2: #19071 | 
| The Pydantic update indeed fixed  I believe the current Complement test failure ( | 
aka PEP 604, added in Python 3.10
This PR has been broken down into multiple commits, to illustrate the steps used to prepare it.
Pull Request Checklist
EventStoretoEventWorkerStore.".code blocks.