File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -37,20 +37,19 @@ def __init__(self, client: ApiCaller):
3737 self ._client = client
3838
3939 @validate_arguments
40- def creator (
41- self , credential : Credential , test : Optional [bool ] = True
42- ) -> CredentialResponse :
40+ def creator (self , credential : Credential , test : bool = True ) -> CredentialResponse :
4341 """
4442 Create a new credential.
4543
4644 :param credential: provide full details of the credential's to be created.
47- :param test: whether to validate the credentials (True) or skip validation (False) before creation.
45+ :param test: whether to validate the credentials (`True`) or skip validation
46+ (`False`) before creation, defaults to `True`.
4847 :returns: A CredentialResponse instance.
4948 :raises ValidationError: If the provided `credential` is invalid.
5049 """
5150 raw_json = self ._client ._call_api (
5251 api = CREATE_CREDENTIALS .format_path_with_params (),
53- query_params = {"testCredential" : f" { test } " },
52+ query_params = {"testCredential" : test },
5453 request_obj = credential ,
5554 )
5655 return CredentialResponse (** raw_json )
You can’t perform that action at this time.
0 commit comments