-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
The SDK is missing proposal expiration methods.
Core API endpoints
POST /proposals/{id}/expire- Expire a single proposalPOST /proposals/expire-pending- Expire all stale pending proposals
Methods to add
class ProposalsResource:
def expire(self, proposal_id: UUID) -> Proposal:
"""Mark a proposal as expired."""
def expire_pending(self, older_than_days: int = 30) -> dict:
"""Expire all pending proposals older than threshold."""Use case
Cleanup of abandoned proposals that were never acknowledged.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers