Skip to content

Commit

Permalink
Updated await func.
Browse files Browse the repository at this point in the history
  • Loading branch information
schizza committed May 17, 2024
1 parent b417551 commit d9901dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bakalari/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Po zvolání metody `load_credentials` máme tedy v instanci `bakalari` aktuáln
from async_bakalari_api.datastructure import Schools
from async_bakalari_api import Bakalari

school: Schools = Schools().load_from_file("schools_data.json")
school: Schools = await Schools().load_from_file("schools_data.json")
bakalari = Bakalari(
server=school.get_url("část jména školy"),
auto_cache_credentials=True,
Expand Down

0 comments on commit d9901dd

Please sign in to comment.