docs: fix typos (#1665)

* docs: fix typos

* typos: fix typos found by `codespell` across the codebase

* docs: fix `macOS` spelling

* docs: fix `authentification` terminology

"Authentification" is not a thing.

* docs: fix `localhost` typo in example link

* typos: fix in-code typos

These are potentially higher risk, but no other mentions of these typos
show up in the codebase.
This commit is contained in:
Ben Boeckel
2022-09-25 23:17:27 +00:00
committed by GitHub
parent 33dad80eff
commit 2e6b877ba9
46 changed files with 66 additions and 66 deletions

View File

@@ -15,7 +15,7 @@ class Base:
class BaseMixins:
"""
`self.update` method which directly passing arugments to the `__init__`
`self.update` method which directly passing arguments to the `__init__`
`cls.get_ref` method which will return the object from the database or none. Useful for many-to-many relationships.
"""

View File

@@ -5,13 +5,13 @@ from typing import Any
def get_valid_call(func: Callable, args_dict) -> dict:
"""
Returns a dictionary of valid arguemnts for the supplied function. if kwargs are accepted,
Returns a dictionary of valid arguments for the supplied function. if kwargs are accepted,
the original dictionary will be returned.
"""
def get_valid_args(func: Callable) -> list[str]:
"""
Returns a tuple of valid arguemnts for the supplied function.
Returns a tuple of valid arguments for the supplied function.
"""
return inspect.getfullargspec(func).args