Skip to content

[THIS-1078] 🐝 Allow no client#1580

Merged
doctrino merged 1 commit intomainfrom
not-require-client
Feb 27, 2026
Merged

[THIS-1078] 🐝 Allow no client#1580
doctrino merged 1 commit intomainfrom
not-require-client

Conversation

@doctrino
Copy link
Copy Markdown
Contributor

Description

In CDF notebooks, we do not need a Client as NeatSession creates it for you. Thus, we should set the default to None. This saves code lines creating a new session .
image

Bump

  • Patch
  • Skip

Changelog

Improved

  • When creating a NeatSession in a CDF notebook, you do not have to pass a CogniteClient.

@doctrino doctrino requested a review from a team as a code owner February 27, 2026 13:25
@doctrino doctrino enabled auto-merge (squash) February 27, 2026 13:25
@github-actions
Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
7289 6732 92% 90% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cognite/neat/_session/_session.py 73% 🟢
TOTAL 73% 🟢

updated for commit: 1a5a384 by action🐍

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.80%. Comparing base (3be0ec6) to head (1a5a384).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1580   +/-   ##
=======================================
  Coverage   91.80%   91.80%           
=======================================
  Files         126      126           
  Lines        7427     7427           
=======================================
  Hits         6818     6818           
  Misses        609      609           
Files with missing lines Coverage Δ
cognite/neat/_session/_session.py 71.66% <ø> (ø)
🚀 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.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

@doctrino doctrino merged commit 9660b61 into main Feb 27, 2026
10 checks passed
@doctrino doctrino deleted the not-require-client branch February 27, 2026 13:29
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