Skip to content

feat: support raw content fetch responses - #85

Merged
Turanic merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260729-fetch-content
Jul 29, 2026
Merged

Turanic merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260729-fetch-content

Conversation

@cursor

@cursor cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Description

The public fetch API replaced deprecated raw-HTML-only handling with includeRawContent, rawContent, and contentType. This adds the Pythonic include_raw_content, raw_content, and content_type surface to sync and async fetch calls and fetch tasks, while retaining deprecated compatibility fields. It also updates fetch examples and corrects to_date default documentation.

Checklist

  • I have installed prek on this project (for instance with the make install-dev command) before creating any commit, or I have run successfully the make lint command on my changes.
  • I have run successfully the make typecheck test command on my changes.
  • I have updated the README.md if my changes affected it.

Validation: make lint typecheck test (106 tests passed).

Open in Web View Automation 

@Turanic
Turanic marked this pull request as ready for review July 29, 2026 11:55
Comment thread src/linkup/_client.py
datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, sources will
not be filtered by an end date.
datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, defaults to the
current date.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remark: Verified from the code in base-search.dto.ts, the correction looks legit.

Co-authored-by: william <william@linkup.so>
@Turanic
Turanic force-pushed the cursor/platform-sdk-sync-20260729-fetch-content branch from 78061a0 to abc14e2 Compare July 29, 2026 11:59
@Turanic
Turanic merged commit ef3ece8 into main Jul 29, 2026
4 checks passed
@Turanic
Turanic deleted the cursor/platform-sdk-sync-20260729-fetch-content branch July 29, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants