clean up unused function from prefixed_env pr
This commit is contained in:
parent
2f5a2ab82e
commit
41aaaf7fa0
1 changed files with 0 additions and 7 deletions
|
|
@ -7,13 +7,6 @@ import typing as t
|
|||
from werkzeug.utils import import_string
|
||||
|
||||
|
||||
def _json_loads(raw: t.Union[str, bytes]) -> t.Any:
|
||||
try:
|
||||
return json.loads(raw)
|
||||
except json.JSONDecodeError:
|
||||
return raw
|
||||
|
||||
|
||||
class ConfigAttribute:
|
||||
"""Makes an attribute forward to the config"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue