Skip to content

Commit ba493ee

Browse files
sftp protocol needs default (#630)
1 parent 1fe1ecd commit ba493ee

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.2.37]
2+
3+
* **fix: sftp protocol needs default**
4+
15
## [1.2.36]
26

37
* **fix: allow sftp via paramiko for kubernetes**

unstructured_ingest/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.2.36" # pragma: no cover
1+
__version__ = "1.2.37" # pragma: no cover

unstructured_ingest/processes/connectors/fsspec/fsspec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040

4141
class FileConfig(BaseModel):
4242
remote_url: str = Field(description="Remote fsspec URL formatted as `protocol://dir/path`")
43-
protocol: str = Field(init=False)
44-
path_without_protocol: str = Field(init=False)
43+
protocol: str = Field(init=False, default="")
44+
path_without_protocol: str = Field(init=False, default="")
4545
supported_protocols: list[str] = Field(
4646
init=False,
4747
default_factory=lambda: [

0 commit comments

Comments
 (0)