You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Raise an assertion error when a Runtime is used by client/worker creation/usage.
* Add _RuntimeRef to encapsulate default runtime creation. Add Runtime.prevent_default to allow users to more easily enforce that a default runtime is never automatically created
* remove blank line to fix linter error
* fix use of Self since it's not avaiable in typing until 3.11
* remove references to ForkContext to avoid exploding in Windows
* switch type of fixture to Iterator instead of Generator
* run formatter
* except the correct error type to prevent breakage on windows
* Update tests to match error info. Update prevent_default test to demonstrate that you can call prevent_default and then set_default to allow future calls to default. add tests for set_default
* fix typo in docstring
* remove empty return in Runtime.set_default. Remove _default_created flag in favor of using the optional nature of _default_runtime in _RuntimeRef
0 commit comments