-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added wrapper modules to renamed modules
- Loading branch information
1 parent
9b47d5f
commit aeede6c
Showing
5 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import warnings | ||
from cobaya import cobaya_input # Replace with actual new path | ||
|
||
warnings.warn("cobaya.input is deprecated. Use cobaya.cobaya_input instead.", DeprecationWarning, stacklevel=2) | ||
|
||
# Expose everything from the new module | ||
globals().update(vars(cobaya_input)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import warnings | ||
from cobaya import cobaya_typing # Replace with actual new path | ||
|
||
warnings.warn("cobaya.typing is deprecated. Use cobaya.cobaya_typing instead.", DeprecationWarning, stacklevel=2) | ||
|
||
# Expose everything from the new module | ||
globals().update(vars(cobaya_typing)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import warnings | ||
from cobaya import cobaya_yaml # Replace with actual new path | ||
|
||
warnings.warn("cobaya.yaml is deprecated. Use cobaya.cobaya_yaml instead.", DeprecationWarning, stacklevel=2) | ||
|
||
# Expose everything from the new module | ||
globals().update(vars(cobaya_yaml)) |