Skip to content

merge main in feature/http_api#45

Closed
jkhsjdhjs wants to merge 5 commits intofeature/http_apifrom
main
Closed

merge main in feature/http_api#45
jkhsjdhjs wants to merge 5 commits intofeature/http_apifrom
main

Conversation

@jkhsjdhjs
Copy link

No description provided.

`AbstractSupplementaryFileContainer` and
`DictSupplementaryFileContainer` are extended by a `delete_file()`
method, that allows deleting files from them. Since different files may
have the same content, references to the files contents in
`DictSupplementaryFileContainer._store` are tracked via
`_store_refcount`. A files contents are only deleted from `_store`, if
all filenames referring to these these contents are deleted, i.e. if the
refcount reaches 0.
…around

Since `PyECMA376-2` doesn't have a documentation we can link to, we
ignore missing reference warnings caused by this problem. The
visibility of this workaround is improved by making it a `TODO` instead
of a regular comment. Furthermore, it now links to the corresponding
issue.
Now that we require `lxml-stubs`, we can remove the `type: ignore`
coments from the `lxml` imports. To make mypy happy, many typehints are
adjusted, mostly `etree.Element` -> `etree._Element`.
Now that we use `etree._Element` instead of `etree.Element` in our
docstrings and type annotations, we don't need this workaround anymore.
@s-heppner s-heppner closed this Jun 20, 2024
@jkhsjdhjs jkhsjdhjs reopened this Jun 20, 2024
@jkhsjdhjs
Copy link
Author

I guess I'll have to create a separate branch for this merge to resolve the conflicts.

@jkhsjdhjs jkhsjdhjs closed this Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants