Skip to content
Snippets Groups Projects
Commit c578cc3f authored by Frederik Hennig's avatar Frederik Hennig
Browse files

don't deprecate create_kernel kwargs

parent 8b76676d
No related branches found
No related tags found
No related merge requests found
Pipeline #67437 passed
......@@ -53,14 +53,6 @@ def create_kernel(assignments: Union[Assignment, List[Assignment],
[0., 0., 0., 0., 0.]])
"""
# ---- Updating configuration from kwargs
if kwargs:
warnings.warn(
"Passing kernel creation options as keywork arguments to `create_kernel` is deprecated; "
"this possibility will be removed with pystencils 2.0. "
"Set up a `CreateKernelConfig` instead.",
FutureWarning
)
if not config:
config = CreateKernelConfig(**kwargs)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment