Skip to content

Commit

Permalink
make api compatible with typeddict
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Dec 2, 2024
1 parent 578c144 commit 5ecc943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/client/type.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ static int AerospikeClient_Type_Init(AerospikeClient *self, PyObject *args,
goto CONSTRUCTOR_ERROR;
}

if (!PyDict_Check(py_config)) {
if (!PyMapping_Check(py_config)) {
error_code = INIT_CONFIG_TYPE_ERR;
goto CONSTRUCTOR_ERROR;
}
Expand Down

0 comments on commit 5ecc943

Please sign in to comment.