Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
password is deprecated (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf authored Apr 25, 2024
1 parent 292c067 commit e193dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/upload_new_ontologies.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
def _upload_ontology_artifacts(instance: str, lamindb_user: str, lamindb_password: str):
def _upload_ontology_artifacts(instance: str, lamin_user: str, lamin_api_key: str):
import bionty_base as bt
import lamindb as ln
from bionty_base._public_ontology import encode_filenames
from bionty_base._settings import settings

ln.setup.login(lamindb_user, password=lamindb_password)
ln.setup.login(lamin_user, key=lamin_api_key)
ln.setup.load(instance)

queryset = ln.File.select().all()
Expand Down

0 comments on commit e193dba

Please sign in to comment.