Skip to content

Commit 895f6b5

Browse files
committed
Highlight note regarding circular imports; #494
1 parent 8e156ed commit 895f6b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/operator_policy_packages/policy_package_development.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@ non-deterministic storage, and `scope` for scope extraction algorithms.
9797
`non_deterministic_pfn`, however this is not recommended for new policy
9898
packages).
9999

100-
Some base algorithm classes depend on `schema` being loaded.
101-
To avoid circular import issues, import the algorithm classes
102-
as part of the `get_algorithms` function, to ensure that `schema` is loaded first.
100+
> [!NOTE]
101+
> Some base algorithm classes depend on `schema` being loaded.
102+
> To avoid **circular import** issues,
103+
> import the algorithm classes as part of the `get_algorithms` function,
104+
> to ensure that `schema` is loaded first.
103105
104106
Example:
105107

0 commit comments

Comments
 (0)