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 7ee5515 commit ae7674dCopy full SHA for ae7674d
mp_api/client/core/settings.py
@@ -1,6 +1,6 @@
1
import os
2
-import pathlib
3
from multiprocessing import cpu_count
+from pathlib import Path
4
from typing import List
5
6
from pydantic import Field
@@ -89,8 +89,8 @@ class MAPIClientSettings(BaseSettings):
89
_MAX_LIST_LENGTH, description="Maximum length of query parameter list"
90
)
91
92
- LOCAL_DATASET_CACHE: str = Field(
93
- pathlib.Path("~/mp_datasets").expanduser(),
+ LOCAL_DATASET_CACHE: Path = Field(
+ Path("~/mp_datasets").expanduser(),
94
description="Target directory for downloading full datasets",
95
96
0 commit comments