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

Fix docs/staticfiles.md wrong signature #2095

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Conversation

NoPointExc
Copy link
Contributor

The code:

class StaticFiles:
    def __init__(
        self,
        *,
        directory: typing.Optional[PathLike] = None,
        packages: typing.Optional[
            typing.List[typing.Union[str, typing.Tuple[str, str]]]
        ] = None,
        html: bool = False,
        check_dir: bool = True,
        follow_symlink: bool = False,
    ) -> None:

I found this while reading the doc: https://www.starlette.io/staticfiles/

@Kludex
Copy link
Sponsor Member

Kludex commented Mar 28, 2023

Thanks @NoPointExc 🙏

@Kludex Kludex changed the title Fix docs/staticfiles.md wrong Signature Fix docs/staticfiles.md wrong signature Mar 28, 2023
@Kludex Kludex merged commit bc90057 into encode:master Mar 28, 2023
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.

None yet

2 participants