我在哪里可以找到@ endpoints.method参数的含义?

时间:2015-07-13 17:11:05

标签: google-cloud-endpoints

我可以看到以下@ endpoints.method接受几种不同的参数。

@endpoints.method(message_types.VoidMessage, ProfileForm,
            path='profile', http_method='POST', name='saveProfile')

我在哪里可以阅读更多关于这些参数是什么以及可能还有其他@endpoints.函数以及它们的参数是什么?

我已经搜索了文档,但我找到的只是文章和入门指南。我还没有找到任何关于端点函数存在,它们返回什么以及它们的参数是什么的全面解释。

1 个答案:

答案 0 :(得分:0)

official Python documentation记录了装饰器参数。

相关问题