Skip to content

Fix TM1Service kwarg collision when connection params set in config.ini#158

Merged
nicolasbisurgi merged 1 commit into
masterfrom
fix/tm1-connection-param-kwarg-collision
Jun 1, 2026
Merged

Fix TM1Service kwarg collision when connection params set in config.ini#158
nicolasbisurgi merged 1 commit into
masterfrom
fix/tm1-connection-param-kwarg-collision

Conversation

@MariusWirtz

Copy link
Copy Markdown
Collaborator

setup_tm1_services spread config.ini params via **params while also passing connection_pool_size and session_context explicitly, raising "got multiple values for keyword argument 'connection_pool_size'". The exception was swallowed as "instance not accessible", dropping the instance and surfacing a misleading KeyError downstream in validate_tasks.

Merge RushTI-managed values as defaults that config.ini can override. Add unit tests for the collision, the max_workers default, and session_context precedence.

Description

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • CI/CD or build changes

Release Label

Checklist

  • I have tested my changes locally
  • I have updated documentation if needed
  • My code follows the project's coding style
  • I have added tests if applicable

setup_tm1_services spread config.ini params via **params while also passing
connection_pool_size and session_context explicitly, raising "got multiple
values for keyword argument 'connection_pool_size'". The exception was
swallowed as "instance not accessible", dropping the instance and surfacing
a misleading KeyError downstream in validate_tasks.

Merge RushTI-managed values as defaults that config.ini can override.
Add unit tests for the collision, the max_workers default, and
session_context precedence.
@nicolasbisurgi nicolasbisurgi added the release:patch Triggers patch version bump (e.g.: 1.4.9 → 1.4.10) label Jun 1, 2026
@nicolasbisurgi nicolasbisurgi merged commit 4ba002c into master Jun 1, 2026
9 checks passed
@nicolasbisurgi

Copy link
Copy Markdown
Collaborator

Thanks for the fix!

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

Labels

release:patch Triggers patch version bump (e.g.: 1.4.9 → 1.4.10)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants