Skip to content

[Feat]: make dependency starlette optional #101

@sll521

Description

@sll521

Is your feature request related to a problem? Please describe.

we have a project used a lower version starlette>=0.37.2,<0.38.0, but the a2a-sdk use starlette>=0.46.2, confict! My current solution is to directly modify the dependent version using the source code, but upgrading later will be troublesom. If there is a better way, please advise.

Describe the solution you'd like

I hope the SDK can provide a way to solve my problem, below are my some idea:
way 1. use a lower verson of starlette,may cause incompatibility issue
way 2. make starlette optional, then offer an abstract application do not dependent specific web framework,let user extend

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions