Skip to content

feat: add expires_in parameter to asset upload endpoints - #76

Merged
wei-hai merged 1 commit into
Comfy-Org:mainfrom
jab416171:feat/asset-expiration
Aug 27, 2026
Merged

feat: add expires_in parameter to asset upload endpoints#76
wei-hai merged 1 commit into
Comfy-Org:mainfrom
jab416171:feat/asset-expiration

Conversation

@jab416171

Copy link
Copy Markdown
Contributor
  • Add expires_in to post_assets, asset_from_hash, async equivalents
  • Add expires_in to _Source, AssetFactory.from_file, AsyncAssetFactory.from_file
  • Pass expires_in through upload/from-hash flows

@jab416171
jab416171 requested review from a team as code owners August 24, 2026 03:21
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1bb08120-7e9e-4409-9491-87b694bc4a3c


Comment @coderabbitai help to get the list of available commands.

@jab416171
jab416171 force-pushed the feat/asset-expiration branch from 4134c22 to 0e49c9f Compare August 24, 2026 03:42
- Add expires_in to post_assets, asset_from_hash, async equivalents
- Add expires_in to _Source, AssetFactory.from_file, AsyncAssetFactory.from_file
- Pass expires_in through upload/from-hash flows
@jab416171
jab416171 force-pushed the feat/asset-expiration branch from 0e49c9f to cea5e89 Compare August 27, 2026 15:48
@wei-hai
wei-hai merged commit aa961bc into Comfy-Org:main Aug 27, 2026
11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 27, 2026
@wei-hai

wei-hai commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

@jab416171 this is good contribution and we really appreciate it, however, we need to support local ComfyUI, cloud and serverless API in one interface, so unfortunately we need to revert this PR in #109 , we will revisit when we have capacity to support expires_in in all 3 scenarios.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants