-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Defined the source and candidate paths as below for testing. Is this correct?
source_path = schema.Path().add_node(mobile)
candidate_paths = [schema.Path().add_node(mobile), handset]
Error received is provided below for your reference.
Traceback (most recent call last):
File "schema_test.py", line 12, in
keypathgen = schema.KeyPathGenerator(source_path, candidate_paths)
File "/home/developer/Desktop/Analysis/schema/schema/schema.py", line 266, in init
self._key_source_path(source_path)
File "/home/developer/Desktop/Analysis/schema/schema/schema.py", line 276, in _key_source_path
if a.key is None:
AttributeError: 'str' object has no attribute 'key'
Could you find how to pass the source pah and candidate path. Need sample program.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels