Back to Dagger

V0.18.4

sdk/python/.changes/v0.18.4.md

0.20.71.0 KB
Original Source

sdk/python/v0.18.4 - 2025-04-22

This SDK uses šŸš™ Engine + šŸš— CLI version v0.18.4. See what changed in that release.

šŸ https://pypi.org/project/dagger-io/v0.18.4/ šŸ“– https://dagger-io.readthedocs.io/en/sdk-python-v0.18.4/

Added

  • Support defining interfaces in Python modules by @helderco in https://github.com/dagger/dagger/pull/8097
    To define an interface, create a typing.Protocol class (PEP 0544), decorated with @dagger.interface:

    python
    @dagger.interface
    class Duck(typing.Protocol):
    Ā  Ā  @dagger.function
    Ā  Ā  async def quack(self) -> str: ...
    

    Learn more about Dagger interfaces in https://docs.dagger.io/api/interfaces

Dependencies

What to do next