raccoonai 0.1.0a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of raccoonai might be problematic. Click here for more details.

Files changed (44) hide show
  1. raccoonai/__init__.py +96 -0
  2. raccoonai/_base_client.py +2051 -0
  3. raccoonai/_client.py +473 -0
  4. raccoonai/_compat.py +219 -0
  5. raccoonai/_constants.py +14 -0
  6. raccoonai/_exceptions.py +108 -0
  7. raccoonai/_files.py +123 -0
  8. raccoonai/_models.py +795 -0
  9. raccoonai/_qs.py +150 -0
  10. raccoonai/_resource.py +43 -0
  11. raccoonai/_response.py +830 -0
  12. raccoonai/_streaming.py +333 -0
  13. raccoonai/_types.py +217 -0
  14. raccoonai/_utils/__init__.py +57 -0
  15. raccoonai/_utils/_logs.py +25 -0
  16. raccoonai/_utils/_proxy.py +62 -0
  17. raccoonai/_utils/_reflection.py +42 -0
  18. raccoonai/_utils/_streams.py +12 -0
  19. raccoonai/_utils/_sync.py +71 -0
  20. raccoonai/_utils/_transform.py +392 -0
  21. raccoonai/_utils/_typing.py +149 -0
  22. raccoonai/_utils/_utils.py +414 -0
  23. raccoonai/_version.py +4 -0
  24. raccoonai/lib/.keep +4 -0
  25. raccoonai/py.typed +0 -0
  26. raccoonai/resources/__init__.py +33 -0
  27. raccoonai/resources/fleet.py +485 -0
  28. raccoonai/resources/lam.py +1161 -0
  29. raccoonai/types/__init__.py +15 -0
  30. raccoonai/types/fleet_create_params.py +77 -0
  31. raccoonai/types/fleet_create_response.py +20 -0
  32. raccoonai/types/fleet_logs_response.py +14 -0
  33. raccoonai/types/fleet_status_response.py +17 -0
  34. raccoonai/types/fleet_terminate_response.py +17 -0
  35. raccoonai/types/lam_extract_params.py +51 -0
  36. raccoonai/types/lam_extract_response.py +28 -0
  37. raccoonai/types/lam_integration_run_params.py +35 -0
  38. raccoonai/types/lam_integration_run_response.py +47 -0
  39. raccoonai/types/lam_run_params.py +41 -0
  40. raccoonai/types/lam_run_response.py +21 -0
  41. raccoonai-0.1.0a1.dist-info/METADATA +422 -0
  42. raccoonai-0.1.0a1.dist-info/RECORD +44 -0
  43. raccoonai-0.1.0a1.dist-info/WHEEL +4 -0
  44. raccoonai-0.1.0a1.dist-info/licenses/LICENSE +201 -0
raccoonai/__init__.py ADDED
@@ -0,0 +1,96 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from . import types
4
+ from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes
5
+ from ._utils import file_from_path
6
+ from ._client import (
7
+ ENVIRONMENTS,
8
+ Client,
9
+ Stream,
10
+ Timeout,
11
+ RaccoonAI,
12
+ Transport,
13
+ AsyncClient,
14
+ AsyncStream,
15
+ AsyncRaccoonAI,
16
+ RequestOptions,
17
+ )
18
+ from ._models import BaseModel
19
+ from ._version import __title__, __version__
20
+ from ._response import APIResponse as APIResponse, AsyncAPIResponse as AsyncAPIResponse
21
+ from ._constants import DEFAULT_TIMEOUT, DEFAULT_MAX_RETRIES, DEFAULT_CONNECTION_LIMITS
22
+ from ._exceptions import (
23
+ APIError,
24
+ ConflictError,
25
+ NotFoundError,
26
+ APIStatusError,
27
+ RaccoonAIError,
28
+ RateLimitError,
29
+ APITimeoutError,
30
+ BadRequestError,
31
+ APIConnectionError,
32
+ AuthenticationError,
33
+ InternalServerError,
34
+ PermissionDeniedError,
35
+ UnprocessableEntityError,
36
+ APIResponseValidationError,
37
+ )
38
+ from ._base_client import DefaultHttpxClient, DefaultAsyncHttpxClient
39
+ from ._utils._logs import setup_logging as _setup_logging
40
+
41
+ __all__ = [
42
+ "types",
43
+ "__version__",
44
+ "__title__",
45
+ "NoneType",
46
+ "Transport",
47
+ "ProxiesTypes",
48
+ "NotGiven",
49
+ "NOT_GIVEN",
50
+ "Omit",
51
+ "RaccoonAIError",
52
+ "APIError",
53
+ "APIStatusError",
54
+ "APITimeoutError",
55
+ "APIConnectionError",
56
+ "APIResponseValidationError",
57
+ "BadRequestError",
58
+ "AuthenticationError",
59
+ "PermissionDeniedError",
60
+ "NotFoundError",
61
+ "ConflictError",
62
+ "UnprocessableEntityError",
63
+ "RateLimitError",
64
+ "InternalServerError",
65
+ "Timeout",
66
+ "RequestOptions",
67
+ "Client",
68
+ "AsyncClient",
69
+ "Stream",
70
+ "AsyncStream",
71
+ "RaccoonAI",
72
+ "AsyncRaccoonAI",
73
+ "ENVIRONMENTS",
74
+ "file_from_path",
75
+ "BaseModel",
76
+ "DEFAULT_TIMEOUT",
77
+ "DEFAULT_MAX_RETRIES",
78
+ "DEFAULT_CONNECTION_LIMITS",
79
+ "DefaultHttpxClient",
80
+ "DefaultAsyncHttpxClient",
81
+ ]
82
+
83
+ _setup_logging()
84
+
85
+ # Update the __module__ attribute for exported symbols so that
86
+ # error messages point to this module instead of the module
87
+ # it was originally defined in, e.g.
88
+ # raccoonai._exceptions.NotFoundError -> raccoonai.NotFoundError
89
+ __locals = locals()
90
+ for __name in __all__:
91
+ if not __name.startswith("__"):
92
+ try:
93
+ __locals[__name].__module__ = "raccoonai"
94
+ except (TypeError, AttributeError):
95
+ # Some of our exported symbols are builtins which we can't set attributes for.
96
+ pass