You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ParamField path="additional_init_exports" type="array of objects" default="null" required={false} toc={true}>
26
30
Additional modules or classes to export from the package's `__init__.py` file. This allows you to customize what's available when users import your package.
31
+
32
+
Each object should specify which file to import from and what to import:
33
+
```yaml
34
+
config:
35
+
additional_init_exports:
36
+
- from: core.oauth_flow
37
+
imports:
38
+
- validate_token
39
+
- from: utils.helpers
40
+
imports:
41
+
- format_currency
42
+
- PhoneValidator
43
+
```
44
+
45
+
This enables users to access your custom functions directly:
46
+
```python
47
+
from my_package import validate_token, format_currency, PhoneValidator
The chunk size to use (if any) when processing a response bytes stream within `iter_bytes` or `aiter_bytes` results in: `for chunk in response.iter_bytes(chunk_size=<default_bytes_stream_chunk_size>):`
0 commit comments