Skip to content

Commit 62c9a1b

Browse files
authored
Merge pull request #325 from Backblaze/sqlite-account-info-profiles
Fix docstring for SqliteAccountInfo.__init__
2 parents 3da7545 + 207cc81 commit 62c9a1b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Fixed
1313
* Fix `AccountInfo.is_master_key()`
14+
* Fix docstring of `SqliteAccountInfo`
1415

1516
### Infrastructure
1617
* Add 3.11.0-beta.1 to CI

b2sdk/account_info/sqlite_account_info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ def __init__(self, file_name=None, last_upgrade_to_run=None, profile: Optional[s
5353
SqliteAccountInfo currently checks locations in the following order:
5454
5555
If ``profile`` arg is provided:
56+
5657
* ``{XDG_CONFIG_HOME_ENV_VAR}/b2/db-<profile>.sqlite``, if ``{XDG_CONFIG_HOME_ENV_VAR}`` env var is set
5758
* ``{B2_ACCOUNT_INFO_PROFILE_FILE}``
5859
5960
Otherwise:
61+
6062
* ``file_name``, if truthy
6163
* ``{B2_ACCOUNT_INFO_ENV_VAR}`` env var's value, if set
6264
* ``{B2_ACCOUNT_INFO_DEFAULT_FILE}``, if it exists

0 commit comments

Comments
 (0)