Skip to content

Commit

Permalink
ignore wkrm loading errors, as that would prevent an initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Dec 21, 2023
1 parent 9af92bb commit a436694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches_orm/wkrm.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_resource_models_for_adapter(adapter_name: str | None = None):
if str(adapter) not in resource_models:
resource_models[str(adapter)] = {}
resource_models[str(adapter)]["by-class"] = {}
for wkrm in WELL_KNOWN_RESOURCE_MODELS
for wkrm in WELL_KNOWN_RESOURCE_MODELS:
try:
resource_models[str(adapter)]["by-class"][wkrm.model_class_name] = _make_wkrm(wkrm, adapter)
except Exception as exc:
Expand Down

0 comments on commit a436694

Please sign in to comment.