blakeblackshear.frigate/frigate/util
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
..
builtin.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
config.py Configurable ffmpeg (#13722) 2024-09-13 15:14:51 -05:00
image.py Ffmpeg cleanup (#13737) 2024-09-14 07:03:39 -06:00
object.py Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
services.py Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00