blakeblackshear.frigate/frigate
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
..
api Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
comms Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
detectors Remove context file (#13885) 2024-09-22 08:38:23 -06:00
embeddings Use cpu provider for embeddings models (#13806) 2024-09-17 17:20:18 -05:00
events
genai write prompts for genai at the camera level (#13767) 2024-09-16 08:46:11 -06:00
images
motion Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
output
ptz Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
record Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
review
stats Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
test Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
track
util Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
__init__.py
__main__.py Make logging code self-contained (#13785) 2024-09-17 08:26:25 -05:00
app.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
config.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
const.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
ffmpeg_presets.py Update ffmpeg to 7 and update intel hwaccel docs (#13834) 2024-09-19 13:29:58 -06:00
log.py Make logging code self-contained (#13785) 2024-09-17 08:26:25 -05:00
models.py
mypy.ini
object_detection.py Always close connection to shm frame after detection (#13766) 2024-09-16 07:56:20 -06:00
object_processing.py Fix detections logic (#13781) 2024-09-16 18:23:10 -05:00
plus.py
storage.py
timeline.py Do not handle object if data is None (#13830) 2024-09-19 07:51:07 -06:00
types.py
video.py
watchdog.py