*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 035f0999 authored by Mahler, Lukas's avatar Mahler, Lukas
Browse files

add test ipynb'

parent 4df03108
No related branches found
No related tags found
1 merge request!1Dev
%% Cell type:code id: tags:
``` python
%load_ext autoreload
%autoreload 2
```
%% Cell type:code id: tags:
``` python
import pathlib
import yaml
```
%% Cell type:code id: tags:
``` python
BASE_PATH = pathlib.Path("").absolute().parent
BASE_PATH
```
%% Cell type:code id: tags:
``` python
with open(BASE_PATH / "config" / "test-config.yml", "r") as file:
config = yaml.safe_load(file)
```
%% Cell type:markdown id: tags:
## DBREPO
%% Cell type:code id: tags:
``` python
from dbrepo_ismir.dbrepo import DBRepoConnector
```
%% Cell type:code id: tags:
``` python
dbrepo_connector = DBRepoConnector(
config["dbrepo"]["credentials"]["username"],
config["dbrepo"]["credentials"]["password"],
config["dbrepo"]["host"],
config["dbrepo"]["container-id"],
config["dbrepo"]["database-id"]
)
```
%% Cell type:code id: tags:
``` python
dbrepo_connector.authenticate()
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment