@@ -41,8 +41,8 @@ def parse_metadata(value):
41
41
value: Quantity object
42
42
43
43
Returns:
44
- dictionary of the metadata. Available keys are `units`, `otype `,
45
- `shape `, and `dtype `. See `semantikon.typing.u` for more details.
44
+ dictionary of the metadata. Available keys are `units`, `label `,
45
+ `triple `, `uri` and `shape `. See `semantikon.typing.u` for more details.
46
46
"""
47
47
# When there is only one metadata `use_list=False` must have been used
48
48
if len (value .__metadata__ ) == 1 and isinstance (value .__metadata__ [0 ], str ):
@@ -79,8 +79,8 @@ def parse_input_args(func: callable):
79
79
func: function to be parsed
80
80
81
81
Returns:
82
- dictionary of the input arguments. Available keys are `units`, `otype `,
83
- and `shape`. See `semantikon.typing.u` for more details.
82
+ dictionary of the input arguments. Available keys are `units`, `label `,
83
+ `triple`, `uri` and `shape`. See `semantikon.typing.u` for more details.
84
84
"""
85
85
return {
86
86
key : _meta_to_dict (value .annotation )
@@ -97,8 +97,9 @@ def parse_output_args(func: callable):
97
97
98
98
Returns:
99
99
dictionary of the output arguments if there is only one output. Otherwise,
100
- a list of dictionaries is returned. Available keys are `units`, `otype`,
101
- and `shape`. See `semantikon.typing.u` for more details.
100
+ a list of dictionaries is returned. Available keys are `units`,
101
+ `label`, `triple`, `uri` and `shape`. See `semantikon.typing.u` for
102
+ more details.
102
103
"""
103
104
sig = inspect .signature (func )
104
105
if get_origin (sig .return_annotation ) is tuple :
0 commit comments