Skip to content

docs(Files): Add tip section to FilesAPI methods regarding "Data Modeling Files API"#2692

Open
haakonvt wants to merge 1 commit into
masterfrom
add-DM-tip-on-file-methods
Open

docs(Files): Add tip section to FilesAPI methods regarding "Data Modeling Files API"#2692
haakonvt wants to merge 1 commit into
masterfrom
add-DM-tip-on-file-methods

Conversation

@haakonvt

Copy link
Copy Markdown
Contributor

No description provided.

@haakonvt haakonvt requested review from a team as code owners June 16, 2026 21:50

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds tips to the docstrings of several file API methods, recommending the use of Data Modeling files API where appropriate. The reviewer notes that the custom 'Tip:' header is not standard for Google/Napoleon docstrings and will fail to render correctly in Sphinx, suggesting the use of the standard '.. tip::' directive instead.

Comment thread cognite/client/_api/files.py Outdated
Comment thread cognite/client/_api/files.py Outdated
Comment thread cognite/client/_api/files.py Outdated
Comment thread cognite/client/_api/files.py Outdated
Comment thread cognite/client/_api/files.py Outdated
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.65%. Comparing base (aa2316c) to head (e401d14).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2692      +/-   ##
==========================================
- Coverage   93.68%   93.65%   -0.04%     
==========================================
  Files         498      498              
  Lines       50391    50391              
==========================================
- Hits        47209    47192      -17     
- Misses       3182     3199      +17     
Files with missing lines Coverage Δ
cognite/client/_api/files.py 96.68% <ø> (ø)
cognite/client/_sync_api/files.py 100.00% <ø> (ø)

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@haakonvt haakonvt force-pushed the add-DM-tip-on-file-methods branch from d3393f5 to e401d14 Compare June 16, 2026 22:05
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.

1 participant