Skip to content

Additional cluster data broke sharded cluster #177

@gcoupelant

Description

@gcoupelant

Hello

In this MR: #157 you added a created_date attribute to the ClusterConfig class and updated the fill_from_dict class method accodingly.
But you omitted to also update the ShardedClusterConfig class.

Because of that, some commands will fail when ran against a sharded cluster:

TypeError: ShardedClusterConfig.__init__() takes from 1 to 21 positional arguments but 22 were given

The 22nd positional argument being created_date.

Downgrading to version 2.0.6 "fixes" the issue for now 🙂

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions