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 Configurable ffmpeg (#13722) 2024-09-13 15:14:51 -05:00
genai write prompts for genai at the camera level (#13767) 2024-09-16 08:46:11 -06:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
motion Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
output Configurable ffmpeg (#13722) 2024-09-13 15:14:51 -05:00
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 Limit shm frame count (#12363) 2024-09-03 10:22:30 -06:00
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 Adjust stationary reqs depending on state (#11226) 2024-05-03 17:28:06 -05:00
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 Implement support for notifications (#12523) 2024-08-29 20:19:50 -06:00
mypy.ini update deps (#6093) 2023-04-15 14:17:59 -05:00
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 strip whitespaces when loading secrets (#12393) 2024-07-12 07:36:15 -06:00
storage.py Ensure storage cleanup doesn't fail (#8531) 2023-11-07 23:21:43 +00:00
timeline.py Do not handle object if data is None (#13830) 2024-09-19 07:51:07 -06:00
types.py Convert config updating and video/audio queues to use zmq (#9893) 2024-02-19 07:26:59 -06:00
video.py Improve handling of empty frames (#13651) 2024-09-10 08:39:37 -05:00
watchdog.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00