# Asynchronous client
async_sdk = AsyncMyAPI(api_key="...")
result = await async_sdk.list_users()
```

The constructor-based pattern eliminates method name duplication and provides clearer IDE suggestions.

<Callout title="Breaking change" type="warning">
Switching to `asyncMode: split` is a breaking change. Existing SDK users will need to update their code to use the new constructor pattern.
</Callout>



## Server-sent events configuration

```yml
python:
  sseFlatResponse: true
```

<Table
  data={[
    {
      name: "sseFlatResponse",
      required: "false",
      default: "true",
      description:
        "When enabled, hoists the `data` field content to the top level for server-sent events, eliminating the need to destructure data from yielded items. Consumers can directly access the data without additional parsing.",
    },
  ]}
  columns={[
    { key: "name", header: "Name" },
    { key: "required", header: "Required" },
    { key: "default", header: "Default Value" },
    { key: "description", header: "Description" },
  ]}
/>

## Pytest configuration

```yml
python:
  pytestFilterWarnings:
    - error
    - "ignore::DeprecationWarning"
  pytestTimeout: 300
```

<Table
  data={[
    {
      name: "pytestFilterWarnings",
      required: "false",
      default: "[]",
      description:
        "Global pytest filterwarnings configuration value, which are filters to control Python warnings. Use to ignore warnings or raise warnings as errors. Additional reference: https://docs.python.org/3/library/warnings.html#warning-filter",
    },
    {
      name: "pytestTimeout",
      required: "false",
      default: "0",
      description:
        "When value is greater than 0, installs pytest-timeout and sets the global pytest-timeout configuration value, which is the number of seconds before individual tests are timed out.",
    },
  ]}
  columns={[
    { key: "name", header: "Name" },
    { key: "required", header: "Required" },
    { key: "default", header: "Default Value" },
    { key: "description", header: "Description" },
  ]}
/>

## Fix flags

```yml
python:
  fixFlags:
    asyncPaginationSep2025: true
```

<Table
  data={[
    {
      name: "asyncPaginationSep2025",
      required: "false",
      default: "true for new SDKs, false for existing SDKs",
      description:
        "Disabling not recommended. Enables changes introduced in September 2025 to fix async pagination methods to return async next() functions instead of synchronous ones, preventing blocking fetches after the initial API call. Defaults to true for new SDKs. For existing SDKs, setting true is recommended, but will be a breaking change.",
    },
  ]}
  columns={[
    { key: "name", header: "Name" },
    { key: "required", header: "Required" },
    { key: "default", header: "Default Value" },
    { key: "description", header: "Description" },
  ]}
/>