Skip to content

Add Contract guarantees update method #18

@evanvolgas

Description

@evanvolgas

Summary

The SDK is missing the ability to update contract guarantees after publishing.

Core API endpoint

  • PATCH /contracts/{id}/guarantees - Update guarantees on an existing contract

Method to add

class ContractsResource:
    def update_guarantees(
        self, 
        contract_id: UUID, 
        guarantees: Guarantees
    ) -> Contract:
        """Update the guarantees (SLAs) on a published contract."""

Use case

Updating freshness SLAs or other guarantees without republishing the schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions