From 959795bdfc3fa52a64fcc103ef136c116c71bc35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Fri, 29 Sep 2023 22:11:33 +0200 Subject: [PATCH] MAINT: created slim wrapper named caosdb --- src/caosdb/__init__.py | 6 ++++++ src/caosdb/apiutils.py | 6 ++++++ src/caosdb/cached.py | 6 ++++++ src/caosdb/common/__init__.py | 6 ++++++ src/caosdb/common/administration.py | 6 ++++++ src/caosdb/common/datatype.py | 6 ++++++ src/caosdb/common/models.py | 6 ++++++ src/caosdb/common/state.py | 6 ++++++ src/caosdb/common/timezone.py | 6 ++++++ src/caosdb/common/utils.py | 6 ++++++ src/caosdb/common/versioning.py | 6 ++++++ src/caosdb/configuration.py | 6 ++++++ src/caosdb/connection/__init__.py | 6 ++++++ src/caosdb/connection/authentication/__init__.py | 6 ++++++ src/caosdb/connection/authentication/auth_token.py | 6 ++++++ .../authentication/external_credentials_provider.py | 6 ++++++ src/caosdb/connection/authentication/input.py | 6 ++++++ src/caosdb/connection/authentication/interface.py | 6 ++++++ src/caosdb/connection/authentication/keyring.py | 6 ++++++ src/caosdb/connection/authentication/pass.py | 6 ++++++ src/caosdb/connection/authentication/plain.py | 6 ++++++ src/caosdb/connection/authentication/unauthenticated.py | 6 ++++++ src/caosdb/connection/connection.py | 6 ++++++ src/caosdb/connection/encode.py | 6 ++++++ src/caosdb/connection/interface.py | 6 ++++++ src/caosdb/connection/mockup.py | 6 ++++++ src/caosdb/connection/utils.py | 6 ++++++ src/caosdb/exceptions.py | 6 ++++++ src/caosdb/high_level_api.py | 6 ++++++ src/caosdb/utils/__init__.py | 6 ++++++ src/caosdb/utils/caosdb_admin.py | 6 ++++++ src/caosdb/utils/checkFileSystemConsistency.py | 6 ++++++ src/caosdb/utils/create_revision.py | 6 ++++++ src/caosdb/utils/get_entity.py | 6 ++++++ src/caosdb/utils/git_utils.py | 6 ++++++ src/caosdb/utils/linkahead_admin.py | 6 ++++++ src/caosdb/utils/plantuml.py | 6 ++++++ src/caosdb/utils/register_tests.py | 6 ++++++ src/caosdb/utils/server_side_scripting.py | 6 ++++++ src/caosdb/yamlapi.py | 6 ++++++ 40 files changed, 240 insertions(+) create mode 100644 src/caosdb/__init__.py create mode 100644 src/caosdb/apiutils.py create mode 100644 src/caosdb/cached.py create mode 100644 src/caosdb/common/__init__.py create mode 100644 src/caosdb/common/administration.py create mode 100644 src/caosdb/common/datatype.py create mode 100644 src/caosdb/common/models.py create mode 100644 src/caosdb/common/state.py create mode 100644 src/caosdb/common/timezone.py create mode 100644 src/caosdb/common/utils.py create mode 100644 src/caosdb/common/versioning.py create mode 100644 src/caosdb/configuration.py create mode 100644 src/caosdb/connection/__init__.py create mode 100644 src/caosdb/connection/authentication/__init__.py create mode 100644 src/caosdb/connection/authentication/auth_token.py create mode 100644 src/caosdb/connection/authentication/external_credentials_provider.py create mode 100644 src/caosdb/connection/authentication/input.py create mode 100644 src/caosdb/connection/authentication/interface.py create mode 100644 src/caosdb/connection/authentication/keyring.py create mode 100644 src/caosdb/connection/authentication/pass.py create mode 100644 src/caosdb/connection/authentication/plain.py create mode 100644 src/caosdb/connection/authentication/unauthenticated.py create mode 100644 src/caosdb/connection/connection.py create mode 100644 src/caosdb/connection/encode.py create mode 100644 src/caosdb/connection/interface.py create mode 100644 src/caosdb/connection/mockup.py create mode 100644 src/caosdb/connection/utils.py create mode 100644 src/caosdb/exceptions.py create mode 100644 src/caosdb/high_level_api.py create mode 100644 src/caosdb/utils/__init__.py create mode 100644 src/caosdb/utils/caosdb_admin.py create mode 100644 src/caosdb/utils/checkFileSystemConsistency.py create mode 100644 src/caosdb/utils/create_revision.py create mode 100644 src/caosdb/utils/get_entity.py create mode 100644 src/caosdb/utils/git_utils.py create mode 100644 src/caosdb/utils/linkahead_admin.py create mode 100644 src/caosdb/utils/plantuml.py create mode 100644 src/caosdb/utils/register_tests.py create mode 100644 src/caosdb/utils/server_side_scripting.py create mode 100644 src/caosdb/yamlapi.py diff --git a/src/caosdb/__init__.py b/src/caosdb/__init__.py new file mode 100644 index 00000000..ee00f585 --- /dev/null +++ b/src/caosdb/__init__.py @@ -0,0 +1,6 @@ + +from linkahead import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/apiutils.py b/src/caosdb/apiutils.py new file mode 100644 index 00000000..4f49a37b --- /dev/null +++ b/src/caosdb/apiutils.py @@ -0,0 +1,6 @@ + +from linkahead.apiutils import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.apiutils`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/cached.py b/src/caosdb/cached.py new file mode 100644 index 00000000..4ac13fc6 --- /dev/null +++ b/src/caosdb/cached.py @@ -0,0 +1,6 @@ + +from linkahead.cached import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.cached`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/__init__.py b/src/caosdb/common/__init__.py new file mode 100644 index 00000000..3d765c2a --- /dev/null +++ b/src/caosdb/common/__init__.py @@ -0,0 +1,6 @@ + +from linkahead.common import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/administration.py b/src/caosdb/common/administration.py new file mode 100644 index 00000000..b44d52b1 --- /dev/null +++ b/src/caosdb/common/administration.py @@ -0,0 +1,6 @@ + +from linkahead.common.administration import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.administration`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/datatype.py b/src/caosdb/common/datatype.py new file mode 100644 index 00000000..7c61728a --- /dev/null +++ b/src/caosdb/common/datatype.py @@ -0,0 +1,6 @@ + +from linkahead.common.datatype import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.datatype`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py new file mode 100644 index 00000000..4889685d --- /dev/null +++ b/src/caosdb/common/models.py @@ -0,0 +1,6 @@ + +from linkahead.common.models import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.models`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/state.py b/src/caosdb/common/state.py new file mode 100644 index 00000000..e69fc663 --- /dev/null +++ b/src/caosdb/common/state.py @@ -0,0 +1,6 @@ + +from linkahead.common.state import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.state`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/timezone.py b/src/caosdb/common/timezone.py new file mode 100644 index 00000000..1b6ab31b --- /dev/null +++ b/src/caosdb/common/timezone.py @@ -0,0 +1,6 @@ + +from linkahead.common.timezone import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.timezone`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/utils.py b/src/caosdb/common/utils.py new file mode 100644 index 00000000..2fb49621 --- /dev/null +++ b/src/caosdb/common/utils.py @@ -0,0 +1,6 @@ + +from linkahead.common.utils import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.utils`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/versioning.py b/src/caosdb/common/versioning.py new file mode 100644 index 00000000..957e8d0b --- /dev/null +++ b/src/caosdb/common/versioning.py @@ -0,0 +1,6 @@ + +from linkahead.common.versioning import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.versioning`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/configuration.py b/src/caosdb/configuration.py new file mode 100644 index 00000000..07a0e99c --- /dev/null +++ b/src/caosdb/configuration.py @@ -0,0 +1,6 @@ + +from linkahead.configuration import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.configuration`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/__init__.py b/src/caosdb/connection/__init__.py new file mode 100644 index 00000000..bc9dc0cf --- /dev/null +++ b/src/caosdb/connection/__init__.py @@ -0,0 +1,6 @@ + +from linkahead.connection import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/__init__.py b/src/caosdb/connection/authentication/__init__.py new file mode 100644 index 00000000..cad5725d --- /dev/null +++ b/src/caosdb/connection/authentication/__init__.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/auth_token.py b/src/caosdb/connection/authentication/auth_token.py new file mode 100644 index 00000000..fb715ef2 --- /dev/null +++ b/src/caosdb/connection/authentication/auth_token.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.auth_token import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.auth_token`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/external_credentials_provider.py b/src/caosdb/connection/authentication/external_credentials_provider.py new file mode 100644 index 00000000..657c8e9d --- /dev/null +++ b/src/caosdb/connection/authentication/external_credentials_provider.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.external_credentials_provider import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.external_credentials_provider`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/input.py b/src/caosdb/connection/authentication/input.py new file mode 100644 index 00000000..d416cfbe --- /dev/null +++ b/src/caosdb/connection/authentication/input.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.input import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.input`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/interface.py b/src/caosdb/connection/authentication/interface.py new file mode 100644 index 00000000..a9221463 --- /dev/null +++ b/src/caosdb/connection/authentication/interface.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.interface import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.interface`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/keyring.py b/src/caosdb/connection/authentication/keyring.py new file mode 100644 index 00000000..f66041b1 --- /dev/null +++ b/src/caosdb/connection/authentication/keyring.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.keyring import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.keyring`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/pass.py b/src/caosdb/connection/authentication/pass.py new file mode 100644 index 00000000..cffa34b2 --- /dev/null +++ b/src/caosdb/connection/authentication/pass.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.pass import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.pass`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/plain.py b/src/caosdb/connection/authentication/plain.py new file mode 100644 index 00000000..5e4a8b52 --- /dev/null +++ b/src/caosdb/connection/authentication/plain.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.plain import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.plain`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/unauthenticated.py b/src/caosdb/connection/authentication/unauthenticated.py new file mode 100644 index 00000000..b16090e5 --- /dev/null +++ b/src/caosdb/connection/authentication/unauthenticated.py @@ -0,0 +1,6 @@ + +from linkahead.connection.authentication.unauthenticated import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.unauthenticated`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/connection.py b/src/caosdb/connection/connection.py new file mode 100644 index 00000000..956f2fa3 --- /dev/null +++ b/src/caosdb/connection/connection.py @@ -0,0 +1,6 @@ + +from linkahead.connection.connection import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.connection`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/encode.py b/src/caosdb/connection/encode.py new file mode 100644 index 00000000..714df862 --- /dev/null +++ b/src/caosdb/connection/encode.py @@ -0,0 +1,6 @@ + +from linkahead.connection.encode import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.encode`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/interface.py b/src/caosdb/connection/interface.py new file mode 100644 index 00000000..77e4e57c --- /dev/null +++ b/src/caosdb/connection/interface.py @@ -0,0 +1,6 @@ + +from linkahead.connection.interface import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.interface`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/mockup.py b/src/caosdb/connection/mockup.py new file mode 100644 index 00000000..3adff45f --- /dev/null +++ b/src/caosdb/connection/mockup.py @@ -0,0 +1,6 @@ + +from linkahead.connection.mockup import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.mockup`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/utils.py b/src/caosdb/connection/utils.py new file mode 100644 index 00000000..9a6b5d97 --- /dev/null +++ b/src/caosdb/connection/utils.py @@ -0,0 +1,6 @@ + +from linkahead.connection.utils import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.utils`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/exceptions.py b/src/caosdb/exceptions.py new file mode 100644 index 00000000..57964faa --- /dev/null +++ b/src/caosdb/exceptions.py @@ -0,0 +1,6 @@ + +from linkahead.exceptions import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.exceptions`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/high_level_api.py b/src/caosdb/high_level_api.py new file mode 100644 index 00000000..458e7d8d --- /dev/null +++ b/src/caosdb/high_level_api.py @@ -0,0 +1,6 @@ + +from linkahead.high_level_api import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.high_level_api`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/__init__.py b/src/caosdb/utils/__init__.py new file mode 100644 index 00000000..7401e177 --- /dev/null +++ b/src/caosdb/utils/__init__.py @@ -0,0 +1,6 @@ + +from linkahead.utils import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/caosdb_admin.py b/src/caosdb/utils/caosdb_admin.py new file mode 100644 index 00000000..d421c6fc --- /dev/null +++ b/src/caosdb/utils/caosdb_admin.py @@ -0,0 +1,6 @@ + +from linkahead.utils.caosdb_admin import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.caosdb_admin`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/checkFileSystemConsistency.py b/src/caosdb/utils/checkFileSystemConsistency.py new file mode 100644 index 00000000..279db989 --- /dev/null +++ b/src/caosdb/utils/checkFileSystemConsistency.py @@ -0,0 +1,6 @@ + +from linkahead.utils.checkFileSystemConsistency import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.checkFileSystemConsistency`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/create_revision.py b/src/caosdb/utils/create_revision.py new file mode 100644 index 00000000..6eb2ab9c --- /dev/null +++ b/src/caosdb/utils/create_revision.py @@ -0,0 +1,6 @@ + +from linkahead.utils.create_revision import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.create_revision`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/get_entity.py b/src/caosdb/utils/get_entity.py new file mode 100644 index 00000000..9e41090e --- /dev/null +++ b/src/caosdb/utils/get_entity.py @@ -0,0 +1,6 @@ + +from linkahead.utils.get_entity import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.get_entity`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/git_utils.py b/src/caosdb/utils/git_utils.py new file mode 100644 index 00000000..4f9d2438 --- /dev/null +++ b/src/caosdb/utils/git_utils.py @@ -0,0 +1,6 @@ + +from linkahead.utils.git_utils import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.git_utils`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/linkahead_admin.py b/src/caosdb/utils/linkahead_admin.py new file mode 100644 index 00000000..69d28462 --- /dev/null +++ b/src/caosdb/utils/linkahead_admin.py @@ -0,0 +1,6 @@ + +from linkahead.utils.linkahead_admin import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.linkahead_admin`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/plantuml.py b/src/caosdb/utils/plantuml.py new file mode 100644 index 00000000..07a40160 --- /dev/null +++ b/src/caosdb/utils/plantuml.py @@ -0,0 +1,6 @@ + +from linkahead.utils.plantuml import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.plantuml`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/register_tests.py b/src/caosdb/utils/register_tests.py new file mode 100644 index 00000000..7b862289 --- /dev/null +++ b/src/caosdb/utils/register_tests.py @@ -0,0 +1,6 @@ + +from linkahead.utils.register_tests import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.register_tests`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/server_side_scripting.py b/src/caosdb/utils/server_side_scripting.py new file mode 100644 index 00000000..ccc8980a --- /dev/null +++ b/src/caosdb/utils/server_side_scripting.py @@ -0,0 +1,6 @@ + +from linkahead.utils.server_side_scripting import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.server_side_scripting`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/yamlapi.py b/src/caosdb/yamlapi.py new file mode 100644 index 00000000..849c9feb --- /dev/null +++ b/src/caosdb/yamlapi.py @@ -0,0 +1,6 @@ + +from linkahead.yamlapi import * +from warnings import warn + +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.yamlapi`. Using the" + " old name, starting with caosdb, is deprecated."), DeprecationWarning) -- GitLab