Close unclosed resources in the whole project (#267)

* Close resources

* Close all resources

* Update pyproject.toml

* Close all resources

* Close all resources

* try now...

* try to ignore this

* try again

* try adding one more..

* try now

* try now

* revert ci changes
This commit is contained in:
Marcelo Trylesinski 2025-03-13 11:59:45 +01:00 • committed by GitHub
commit 94d326dbf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,9 @@ class FuncMetadata(BaseModel):
)
def func_metadata(func: Callable, skip_names: Sequence[str] = ()) -> FuncMetadata:
def func_metadata(
func: Callable[..., Any], skip_names: Sequence[str] = ()
) -> FuncMetadata:
"""Given a function, return metadata including a pydantic model representing its
signature.