Skip to content

Commit

Permalink
Fixes #220
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Bartels committed Aug 2, 2024
1 parent 9261a9d commit eca4b32
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/poli/core/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ def register_isolated_function(
force: bool = True,
**kwargs,
):
if name == _OBSERVER:
warnings.warn(
"The name "
+ name
+ " is a reserved keyword. Please choose another name. Doing nothing."
)
if "conda_environment_location" in kwargs:
conda_environment_name = kwargs["conda_environment_location"]

Expand Down

0 comments on commit eca4b32

Please sign in to comment.