Skip to content

Commit e48e235

Browse files
committed
[HWORKS-2099][APPEND] Fix secrets api docstring
1 parent da6cf79 commit e48e235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/hopsworks_common/core/secret_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ def create_secret(
109109
110110
import hopsworks
111111
112-
connection = hopsworks.connection()
112+
project = hopsworks.login()
113113
114-
secrets_api = connection.get_secrets_api()
114+
secrets_api = hopsworks.get_secrets_api()
115115
116116
secret = secrets_api.create_secret("my_secret", "Fk3MoPlQXCQvPo")
117117

0 commit comments

Comments
 (0)