Skip to content

[Feat] Please make the firecrawl-py library async #1306

Closed
@nicholas-johnson-techxcel

Description

Problem Description
Calls to the network should not be blocking.

Proposed Feature
The functions should be awaitable, please. If people want to make them blocking after that, then they can wrap them in something.

Alternatives Considered
I could wrap them in something which dispatches them in other threads, but this is not something that developers should have to deal with.

Implementation Suggestions
I don't even know how you made it blocking in the first place. Network fetch is async by nature.

Use Case
I can't be blocking my threads whilst fetching. We need to be able to do things like asyncio.gather(*tasks) to make simultaneous API calls.

Additional Context
I am using the latest v1.13.3 recent release. This release did little to solve the type issues previously reported as a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions