Skip to content

Commit

Permalink
fix: error using naas-python
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr committed Jun 28, 2024
1 parent 5d6c07d commit 66d8b30
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Naas/Naas_Add_or_Update_Secret.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@
},
"outputs": [],
"source": [
"try:\n",
" import naas_python\n",
"except:\n",
" !pip install naas-python --user\n",
" import naas_python"
"import naas"
]
},
{
Expand Down Expand Up @@ -178,7 +174,7 @@
},
"outputs": [],
"source": [
"naas_python.secret.add(naas_secret_name, naas_secret_value)"
"naas.secret.add(naas_secret_name, naas_secret_value)"
]
},
{
Expand Down Expand Up @@ -214,7 +210,7 @@
},
"outputs": [],
"source": [
"naas_python.secret.get(naas_secret_name)"
"naas.secret.get(naas_secret_name)"
]
},
{
Expand Down

0 comments on commit 66d8b30

Please sign in to comment.