-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/nested: Nested tuple support #2582
Conversation
nested tuples notes added
test cases for list and map in deep nested tuple schemas
code gen updated for nested types
resolve test_py_source_tuple_list_nested_tuple_spl_sink
test cases for list and map in deep nested tuple schemas, SPL->Py
resolve test_py_source_tuple_tuple_list_nested_tuple_spl_sink
update codegen py2spl for map nested in nested tuple
Feature/nested: 1.16.0b
|
@@ -309,6 +309,15 @@ def _attribute_names(types): | |||
def _attribute_pytypes(types): | |||
pytypes = [] | |||
for attr in types: | |||
#if isinstance(attr[0], tuple): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be removed
assert(False == res) # expected result: test failed | ||
print ('-C- unsupported type check: PASSED') | ||
|
||
def _test_spl_source_list_of_tuple_named_tuple_py_sink(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_test_spl_source_list_of_tuple_named_tuple_py_sink(self):
This test case is hidden, but should test a supported scenario.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
callable returns named tuple not dict, that is the difference
restrictions to named tuple objects needs to be mentioned
old code blocks removed
some named tuple cases needs to reviewed in beta phase of the release |
resolves #1679