Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.51 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.51 KB

Examples for the Dagger Python SDK

This is collection of examples for running Dagger pipelines using Python.

Requirements

Feedback wanted

The Python SDK is in technical preview. The Dagger team appreciates any feedback to help make it better. So hack away at these examples or try different things.

You can create issues in GitHub, or come join us on our community server.

Thank you!

Learn more

Tips

These tips may be helpful to understand:

  • The underlying API is the same as with the Go SDK, so if you understand the few differences you can easily port from one to another and reuse some of that documentation as well;
  • The dagger.Client is a typed query builder. Some methods are just building the query and not executing anything. Only on scalar values (str, int...) a coroutine is returned, in which case you need to await to execute it;
  • Notice the type hints in the IDE, they help document what you can do, but there's also reference docs.