dbs_annotator.utils.user_data.user_data_dir

dbs_annotator.utils.user_data.user_data_dir()[source]

Return the platform-appropriate per-user data directory for the app.

The directory is created if it does not yet exist. If Qt cannot determine a writable location (e.g. headless CI without a home directory), the caller gets a sensible fallback under ~/.dbs-annotator.

Return type:

Path