Skip to content

Convert aiohttp to optional dependency for REST use cases #771

@inishchith

Description

@inishchith

Title: Make aiohttp an optional dependency for REST-only use cases

Labels: dependencies, cleanup, enhancement, performance

Description:
aiohttp should be converted to an optional dependency since it's only needed for specific REST use cases and not core functionality.

Background

aiohttp adds significant overhead for users who don't need REST functionality. Making it optional will reduce the base installation size and dependencies.

Tasks

  • Audit all aiohttp usage in the codebase
  • Identify which features require aiohttp
  • Move aiohttp to appropriate optional dependency group
  • Add runtime checks with clear error messages when aiohttp is needed but missing
  • Update documentation and installation guides
  • Ensure core functionality works without aiohttp

Acceptance Criteria

  • aiohttp is only installed when explicitly needed
  • Clear error messages when aiohttp functionality is used without installation
  • Core SDK functionality works without aiohttp
  • Updated documentation reflects optional nature

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions