diff --git a/stellarphot/settings/models.py b/stellarphot/settings/models.py index 19653df5..b7070168 100644 --- a/stellarphot/settings/models.py +++ b/stellarphot/settings/models.py @@ -196,7 +196,7 @@ def validate_gain(self): # Add YAML round-tripping for Camera -def camera_representer(dumper, cam): +def _camera_representer(dumper, cam): return dumper.represent_mapping("!Camera", cam.model_dump())