cognite-sdk-python icon indicating copy to clipboard operation
cognite-sdk-python copied to clipboard

feat(data_modeling): add 'record' value to Container 'used_for' field

Open evertoncolling opened this issue 5 months ago • 2 comments

Description

Add support for the 'record' value in the used_for field for both Container and ContainerApply classes in the data modeling API.

Existing tests already provide adequate coverage for this change, as no tests explicitly validate the list of allowed used_for values and the new value is additive and doesn't break existing functionality.

Checklist:

  • [ ] Tests added/updated.
  • [ ] Documentation updated. Documentation is generated from docstrings - these must be updated according to your change. If a new method has been added it should be referenced in cognite.rst in order to generate docs based on its docstring.
  • [x] The PR title follows the Conventional Commit spec.

evertoncolling avatar Nov 07 '25 20:11 evertoncolling

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 :thumbsup: and :thumbsdown: 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.

gemini-code-assist[bot] avatar Nov 07 '25 20:11 gemini-code-assist[bot]

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 90.95%. Comparing base (65edf71) to head (6f92b24).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2391      +/-   ##
==========================================
- Coverage   90.96%   90.95%   -0.01%     
==========================================
  Files         192      192              
  Lines       26142    26142              
==========================================
- Hits        23779    23777       -2     
- Misses       2363     2365       +2     
Files with missing lines Coverage Δ
...te/client/data_classes/data_modeling/containers.py 99.06% <ø> (ø)

... and 1 file with indirect coverage changes

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

codecov[bot] avatar Nov 07 '25 20:11 codecov[bot]