We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bdacf5 commit 7ee5515Copy full SHA for 7ee5515
mp_api/client/core/settings.py
@@ -1,4 +1,5 @@
1
import os
2
+import pathlib
3
from multiprocessing import cpu_count
4
from typing import List
5
@@ -89,7 +90,7 @@ class MAPIClientSettings(BaseSettings):
89
90
)
91
92
LOCAL_DATASET_CACHE: str = Field(
- os.path.expanduser("~") + "/mp_datasets",
93
+ pathlib.Path("~/mp_datasets").expanduser(),
94
description="Target directory for downloading full datasets",
95
96
0 commit comments