blakeblackshear.frigate/frigate/api
gtsiam e8763b3697
Removed usage of PyYAML for config parsing. (#13883)
* Ignore entire __pycache__ folder instead of individual *.pyc files

* Ignore .mypy_cache in git

* Rework config YAML parsing to use only ruamel.yaml

PyYAML silently overrides keys when encountering duplicates, but ruamel
raises and exception by default. Since we're already using it elsewhere,
dropping PyYAML is an easy choice to make.

* Added EnvString in config to slim down runtime_config()

* Added gitlens to devcontainer

* Automatically call FrigateConfig.runtime_config()

runtime_config needed to be called manually before. Now, it's been
removed, but the same code is run by a pydantic validator.

* Fix handling of missing -segment_time

* Removed type annotation on FrigateConfig's parse

I'd like to keep them, but then mypy complains about some fundamental
errors with how the pydantic model is structured. I'd like to fix it,
but I'd rather work towards moving some of this config to the database.
2024-09-22 10:56:57 -05:00
..
__init__.py
app.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
auth.py
event.py Fix similarity search (#13856) 2024-09-20 12:05:55 -05:00
export.py Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
media.py Configurable ffmpeg (#13722) 2024-09-13 15:14:51 -05:00
notification.py
preview.py Add types to date preview & vod api (#13636) 2024-09-09 11:03:53 -05:00
review.py Explore view fixes (#13726) 2024-09-13 14:44:31 -06:00