@@ -18,7 +18,7 @@ def check_keys(valid_keys: list, input_keys: list, parameters: str):
18
18
"""Compares the input_keys against the valid_keys
19
19
to see if they are allowed to be passed
20
20
as parameters in the request.
21
-
21
+
22
22
Parameters
23
23
----------
24
24
valid_keys: list
@@ -28,7 +28,7 @@ def check_keys(valid_keys: list, input_keys: list, parameters: str):
28
28
parameters: str
29
29
String describing the type of parameters
30
30
that are being tested.
31
-
31
+
32
32
Returns
33
33
-------
34
34
raises ValueError if input_keys are not valid
@@ -44,7 +44,7 @@ def check_required_key(
44
44
):
45
45
"""Check whether the required parameters
46
46
are in the list of input_key.
47
-
47
+
48
48
Parameters
49
49
----------
50
50
required_key: str or list
@@ -327,9 +327,9 @@ def upload_file(
327
327
detail : dict, optional
328
328
Additional body parameters. Allowed parameters are
329
329
'sessionId', 'variables', 'label', 'scope', 'replace', 'encoding',
330
- 'allowTruncation', 'allowEmbeddedNewLines', 'delimiter',
330
+ 'allowTruncation', 'allowEmbeddedNewLines', 'delimiter',
331
331
'varchars', 'scanRows', 'threadCount', 'stripBlanks', 'sheetName',
332
- 'password', 'decryptionKey', 'stringLengthMultiplier',
332
+ 'password', 'decryptionKey', 'stringLengthMultiplier',
333
333
'varcharConversionThreshold'.
334
334
335
335
Returns
@@ -617,15 +617,15 @@ def del_table(
617
617
):
618
618
"""Deletes a table from Caslib source. Note that is not an unload.
619
619
This operation physically removes the source table (if the source is writable).
620
- For path-based caslibs, this physically removes the file.
621
-
620
+ For path-based caslibs, this physically removes the file.
621
+
622
622
Parameters
623
623
----------
624
624
name : str
625
625
Name of the table.
626
626
query_params : dict
627
627
Query parameters.
628
- The allowed query parameters are `sessionId`,
628
+ The allowed query parameters are `sessionId`,
629
629
`sourceTableName`, `quiet`, `removeAcs`.
630
630
Note that the last three are required.
631
631
caslib : str
0 commit comments