(streams)
- get_stream_properties - Get stream properties
Get stream properties
import airbyte
from airbyte.models import operations, shared
s = airbyte.Airbyte(
security=shared.Security(
basic_auth=shared.SchemeBasicAuth(
password="<YOUR_PASSWORD_HERE>",
username="<YOUR_USERNAME_HERE>",
),
),
)
req = operations.GetStreamPropertiesRequest(
destination_id='string',
source_id='string',
)
res = s.streams.get_stream_properties(req)
if res.stream_properties_response is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
request |
operations.GetStreamPropertiesRequest | ✔️ | The request object to use for the request. |
operations.GetStreamPropertiesResponse
Error Object | Status Code | Content Type |
---|---|---|
errors.SDKError | 4x-5xx | / |