-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* clean_up, add `timeout` arg * Remove clean_up from Project
- Loading branch information
Showing
3 changed files
with
9 additions
and
6 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
from warnings import warn | ||
|
||
from ocp_resources.project_project_openshift_io import Project # noqa: F401 | ||
from ocp_resources.project_project_openshift_io import Project, ProjectRequest # noqa: F401 | ||
|
||
|
||
warn( | ||
f"The module {__name__} is deprecated and will be removed in version 4.17, " | ||
"`Project` should be either imported from `ocp_resources.project_project_openshift_io` or " | ||
"`ocp_resources.project_config_openshift_io` depending on the API group.", | ||
"`ocp_resources.project_config_openshift_io` depending on the API group." | ||
"`ProjectRequest` should be imported from `ocp_resources.project_project_openshift_io`", | ||
DeprecationWarning, | ||
stacklevel=2, | ||
) |
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