Implement function qualifiers in thrift python
commitfd9f65229adebfa1113b9b7a3213bdeb37194ed6
authorFilip Francetic <ffrancet@fb.com>
Sat, 10 Sep 2022 07:59:53 +0000 (10 00:59 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 10 Sep 2022 07:59:53 +0000 (10 00:59 -0700)
treea552a1866f26614d482df088cab0d8b4539fd2af
parent7aa86f9ab92b81b727a689891921b72874f7e6db
Implement function qualifiers in thrift python

Summary: Adds the necessary function parameters to make idempotent and readonly work in thrift python.

Reviewed By: ParalaxRus

Differential Revision: D38606290

fbshipit-source-id: b6edb66ac92587523c096355f26ba0450ecff119
17 files changed:
third-party/thrift/src/thrift/compiler/generate/templates/python/clients/client_body.mustache
third-party/thrift/src/thrift/compiler/generate/templates/python/thrift_clients.py.mustache
third-party/thrift/src/thrift/compiler/test/fixtures/basic/gen-python/test/fixtures/basic/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/exceptions/gen-python/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/interactions/gen-python/test/fixtures/interactions/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/namespace/gen-python/emptyns/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/namespace/gen-python/my/namespacing/extend/test/extend/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/namespace/gen-python/my/namespacing/test/hsmodule/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/namespace/gen-python/my/namespacing/test/module/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/namespace_from_package/gen-python/test/namespace_from_package/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/namespace_from_package_without_module_name/gen-python/test/namespace_from_package_without_module_name/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/no-legacy-apis/gen-python/test/fixtures/basic/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/py3/gen-python/empty/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/py3/gen-python/module/thrift_clients.py
third-party/thrift/src/thrift/compiler/test/fixtures/stream/gen-python/module/thrift_clients.py
third-party/thrift/src/thrift/lib/py3/test/testing.thrift
third-party/thrift/src/thrift/lib/python/client/async_client.pyi