We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 839a9b3 commit 66546e0Copy full SHA for 66546e0
s3path/current_version.py
@@ -31,6 +31,8 @@ def register_configuration_parameter(
31
raise TypeError(f'path argument have to be a {PurePath} type. got {type(path)}')
32
if parameters and not isinstance(parameters, dict):
33
raise TypeError(f'parameters argument have to be a dict type. got {type(path)}')
34
+ if parameters is None and resource is None:
35
+ raise ValueError('user have to specify parameters or resource arguments')
36
accessor.configuration_map.set_configuration(
37
path,
38
resource=resource,
0 commit comments