Skip to content
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

method doc Optimization Suggestions #642

Open
alien10086 opened this issue May 6, 2020 · 0 comments
Open

method doc Optimization Suggestions #642

alien10086 opened this issue May 6, 2020 · 0 comments

Comments

@alien10086
Copy link

alien10086 commented May 6, 2020

My running environment
django
python 2.7
spyne 2.12.16
When I write it like this
`
class SecManageObject(ServiceBase):

@rpc(Unicode, _returns=Iterable(Unicode))
def queryConfig(self, oprCode):
    '''
    安全管理中心查询参数配置信息
    '''
    yield "200"

`
Keeps returning 500 errors without detailed error information
After a period of error checking, I found that I could not process the document

When I write it like this
`
class SecManageObject(ServiceBase):

@rpc(Unicode, _returns=Iterable(Unicode))
def queryConfig(self, oprCode):
    u'''
    安全管理中心查询参数配置信息
    '''
    yield "200"

`
So I suggest throw it error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant