We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I saw two methods in parser.py concerning namespace:
namespace
def p_namespace(p): '''namespace : NAMESPACE namespace_scope IDENTIFIER''' # namespace is useless in thriftpy2 # if p[2] == 'py' or p[2] == '*': # setattr(thrift_stack[-1], '__name__', p[3]) def p_namespace_scope(p): '''namespace_scope : '*' | IDENTIFIER''' p[0] = p[1]
But I cannot find namespace attributes after parsing the IDL file using from thriftpy2.parser.parser import parse.
from thriftpy2.parser.parser import parse
Sometimes we need the namespace to locate the same method from different IDL。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I saw two methods in parser.py concerning
namespace
:But I cannot find namespace attributes after parsing the IDL file using
from thriftpy2.parser.parser import parse
.Sometimes we need the namespace to locate the same method from different IDL。
The text was updated successfully, but these errors were encountered: