sigstore / sigstore-python

A Sigstore client written in Python
https://pypi.org/p/sigstore
Other
233 stars 49 forks source link

API: make _StatementBuilder public #1077

Closed woodruffw closed 4 months ago

woodruffw commented 4 months ago

Adds the public StatementBuilder API, created by making _StatementBuilder public. Also adds an alternative construction route for Statement, allowing it to be directly constructed from an internal (still private) _Statement, avoiding an unnecessary serde round-trip.

Note: This makes StatementBuilder public, but explicitly doesn't commit it to SemVer just yet; I don't expect it to change very much, but in the event it does I don't want us locked into design decisions for the entire 3.x lifetime 🙂

Closes #1076.

woodruffw commented 4 months ago

CC @mihaimaruseac for visibility 🙂