Skip to content

Commit bbabf18

Browse files
committed
SDK regeneration
1 parent 16a64c4 commit bbabf18

16 files changed

Lines changed: 568 additions & 5 deletions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "scrapybara"
33

44
[tool.poetry]
55
name = "scrapybara"
6-
version = "2.4.3"
6+
version = "2.4.4"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,22 @@ client.instance.bash(
466466
<dl>
467467
<dd>
468468

469+
**get_background_processes:** `typing.Optional[bool]`
470+
471+
</dd>
472+
</dl>
473+
474+
<dl>
475+
<dd>
476+
477+
**kill_pid:** `typing.Optional[int]`
478+
479+
</dd>
480+
</dl>
481+
482+
<dl>
483+
<dd>
484+
469485
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
470486

471487
</dd>
@@ -588,6 +604,207 @@ client.instance.edit(
588604
</dl>
589605

590606

607+
</dd>
608+
</dl>
609+
</details>
610+
611+
<details><summary><code>client.instance.<a href="src/scrapybara/instance/client.py">filesystem</a>(...)</code></summary>
612+
<dl>
613+
<dd>
614+
615+
#### 🔌 Usage
616+
617+
<dl>
618+
<dd>
619+
620+
<dl>
621+
<dd>
622+
623+
```python
624+
from scrapybara import Scrapybara
625+
626+
client = Scrapybara(
627+
api_key="YOUR_API_KEY",
628+
)
629+
client.instance.filesystem(
630+
instance_id="instance_id",
631+
command="command",
632+
)
633+
634+
```
635+
</dd>
636+
</dl>
637+
</dd>
638+
</dl>
639+
640+
#### ⚙️ Parameters
641+
642+
<dl>
643+
<dd>
644+
645+
<dl>
646+
<dd>
647+
648+
**instance_id:** `str`
649+
650+
</dd>
651+
</dl>
652+
653+
<dl>
654+
<dd>
655+
656+
**command:** `str`
657+
658+
</dd>
659+
</dl>
660+
661+
<dl>
662+
<dd>
663+
664+
**path:** `typing.Optional[str]`
665+
666+
</dd>
667+
</dl>
668+
669+
<dl>
670+
<dd>
671+
672+
**content:** `typing.Optional[str]`
673+
674+
</dd>
675+
</dl>
676+
677+
<dl>
678+
<dd>
679+
680+
**mode:** `typing.Optional[str]`
681+
682+
</dd>
683+
</dl>
684+
685+
<dl>
686+
<dd>
687+
688+
**encoding:** `typing.Optional[str]`
689+
690+
</dd>
691+
</dl>
692+
693+
<dl>
694+
<dd>
695+
696+
**view_range:** `typing.Optional[typing.Sequence[int]]`
697+
698+
</dd>
699+
</dl>
700+
701+
<dl>
702+
<dd>
703+
704+
**recursive:** `typing.Optional[bool]`
705+
706+
</dd>
707+
</dl>
708+
709+
<dl>
710+
<dd>
711+
712+
**src:** `typing.Optional[str]`
713+
714+
</dd>
715+
</dl>
716+
717+
<dl>
718+
<dd>
719+
720+
**dst:** `typing.Optional[str]`
721+
722+
</dd>
723+
</dl>
724+
725+
<dl>
726+
<dd>
727+
728+
**old_str:** `typing.Optional[str]`
729+
730+
</dd>
731+
</dl>
732+
733+
<dl>
734+
<dd>
735+
736+
**new_str:** `typing.Optional[str]`
737+
738+
</dd>
739+
</dl>
740+
741+
<dl>
742+
<dd>
743+
744+
**line:** `typing.Optional[int]`
745+
746+
</dd>
747+
</dl>
748+
749+
<dl>
750+
<dd>
751+
752+
**text:** `typing.Optional[str]`
753+
754+
</dd>
755+
</dl>
756+
757+
<dl>
758+
<dd>
759+
760+
**lines:** `typing.Optional[typing.Sequence[int]]`
761+
762+
</dd>
763+
</dl>
764+
765+
<dl>
766+
<dd>
767+
768+
**all_occurrences:** `typing.Optional[bool]`
769+
770+
</dd>
771+
</dl>
772+
773+
<dl>
774+
<dd>
775+
776+
**pattern:** `typing.Optional[str]`
777+
778+
</dd>
779+
</dl>
780+
781+
<dl>
782+
<dd>
783+
784+
**case_sensitive:** `typing.Optional[bool]`
785+
786+
</dd>
787+
</dl>
788+
789+
<dl>
790+
<dd>
791+
792+
**line_numbers:** `typing.Optional[bool]`
793+
794+
</dd>
795+
</dl>
796+
797+
<dl>
798+
<dd>
799+
800+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
801+
802+
</dd>
803+
</dl>
804+
</dd>
805+
</dl>
806+
807+
591808
</dd>
592809
</dl>
593810
</details>

src/scrapybara/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
ExecuteCellRequest,
2020
FileDownloadResponse,
2121
FileReadResponse,
22+
FilesystemResponse,
2223
GetCursorPositionAction,
2324
GetInstanceResponse,
2425
GetInstanceResponseInstanceType,
@@ -83,6 +84,7 @@
8384
"ExecuteCellRequest",
8485
"FileDownloadResponse",
8586
"FileReadResponse",
87+
"FilesystemResponse",
8688
"GetCursorPositionAction",
8789
"GetInstanceResponse",
8890
"GetInstanceResponseInstanceType",

src/scrapybara/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "scrapybara",
19-
"X-Fern-SDK-Version": "2.4.3",
19+
"X-Fern-SDK-Version": "2.4.4",
2020
}
2121
headers["x-api-key"] = self.api_key
2222
return headers

0 commit comments

Comments
 (0)