mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-28 21:15:26 -05:00
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:
@@ -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.
|
||||
"""
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user