blakeblackshear.frigate/frigate/test
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
const.py Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
test_birdseye.py Write a low resolution low fps stream from decoded frames (#8673) 2024-01-31 12:56:11 +00:00
test_camera_pw.py fix typos (#9895) 2024-02-17 16:01:50 -06:00
test_config.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
test_copy_yuv_to_position.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
test_ffmpeg_presets.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
test_gpu_stats.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
test_http.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
test_object_detector.py Fix max_frames, improve stationary objects in masked areas (#6815) 2023-06-16 07:32:43 -05:00
test_record_retention.py Save motion as motion box count (#10484) 2024-03-15 13:13:40 -06:00
test_reduce_boxes.py Smarter Regions (#8194) 2023-10-18 18:21:52 -05:00
test_storage.py Improve robustness of storage maintenance (#8411) 2023-11-01 23:21:59 +00:00
test_video.py Merge remote-tracking branch 'origin/master' into dev 2024-02-14 18:20:55 -06:00
test_yuv_region_2_rgb.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00