From 8ff29f6f115407d9a14c3c40a4d391a536fb50f3 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 13 Jan 2025 14:04:01 +0100 Subject: [PATCH] update comment --- edgy/core/db/models/metaclasses.py | 1 + 1 file changed, 1 insertion(+) diff --git a/edgy/core/db/models/metaclasses.py b/edgy/core/db/models/metaclasses.py index 1a187336..0df026ef 100644 --- a/edgy/core/db/models/metaclasses.py +++ b/edgy/core/db/models/metaclasses.py @@ -786,6 +786,7 @@ def __new__( meta.model = new_class # Now find a registry and add it to the meta. This isn't affected by skip_registry. # Use Meta: registry = False for disabling the search. + # The registry will be updated by add_to_registry. if meta.registry is None: registry: Union[Registry, None, Literal[False]] = get_model_registry(bases, meta_class) meta.registry = registry or None