Skip to content
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

Resolver.resolve_filename() missing #34

Open
trevor87 opened this issue Aug 10, 2021 · 0 comments
Open

Resolver.resolve_filename() missing #34

trevor87 opened this issue Aug 10, 2021 · 0 comments

Comments

@trevor87
Copy link

trevor87 commented Aug 10, 2021

class Resolver is missing the method resolve_filename().

As I am unsure, how to correctly type filename, I did not submit a PR. Instead, here is my current workaround:

In etree.pyi I added the following to class Resolver:

    def resolve_filename(
        self, filename: Any, context: Any)
    ): ...

Edit: Also, there is a return type. The documentation says "Return the name of a parsable file as input document." Does this mean that return type would be str?

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

No branches or pull requests

1 participant