- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 90 for Dumps (0.03 sec)
-
pkg/test/framework/components/echo/kube/testdata/multiple-istio-versions.yaml
spec: imagePullSecrets: - name: myregistrykey containers: - name: istio-proxy image: auto imagePullPolicy: Always securityContext: # to allow core dumps readOnlyRootFilesystem: false - name: app image: testing.hub/app:latest imagePullPolicy: Always args: - --metrics=15014 - --cluster=cluster-0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 17 04:28:06 UTC 2023 - 3.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 1.9K bytes - Viewed (0) -
docs_src/custom_response/tutorial009c.py
class CustomORJSONResponse(Response): media_type = "application/json" def render(self, content: Any) -> bytes: assert orjson is not None, "orjson must be installed" return orjson.dumps(content, option=orjson.OPT_INDENT_2) @app.get("/", response_class=CustomORJSONResponse) async def main():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Sep 01 09:32:30 UTC 2022 - 451 bytes - Viewed (0) -
ci/official/debug_tfci.sh
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== # This script dumps some information about the environment. It's most useful # for verifying changes to the TFCI scripts system, and most users won't need # to interact with it at all. source "${BASH_SOURCE%/*}/utilities/setup.sh"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 01 19:54:25 UTC 2023 - 1022 bytes - Viewed (0) -
docs/zh/docs/tutorial/encoder.md
{!> ../../../docs_src/encoder/tutorial001.py!} ``` 在这个例子中,它将Pydantic模型转换为`dict`,并将`datetime`转换为`str`。 调用它的结果后就可以使用Python标准编码中的<a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>。 这个操作不会返回一个包含JSON格式(作为字符串)数据的庞大的`str`。它将返回一个Python标准数据结构(例如`dict`),其值和子值都与JSON兼容。 !!! note
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 1.7K bytes - Viewed (0) -
docs_src/generate_clients/tutorial004.py
operation_id = operation["operationId"] to_remove = f"{tag}-" new_operation_id = operation_id[len(to_remove) :] operation["operationId"] = new_operation_id
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 493 bytes - Viewed (0) -
docs/ko/docs/tutorial/encoder.md
{!../../../docs_src/encoder/tutorial001.py!} ``` 이 예시는 Pydantic 모델을 `dict`로, `datetime` 형식을 `str`로 변환합니다. 이렇게 호출한 결과는 파이썬 표준인 <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>로 인코딩 할 수 있습니다. 길이가 긴 문자열 형태의 JSON 형식(문자열)의 데이터가 들어있는 상황에서는 `str`로 반환하지 않습니다. JSON과 모두 호환되는 값과 하위 값이 있는 Python 표준 데이터 구조 (예: `dict`)를 반환합니다. !!! note "참고"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Dec 08 15:43:31 UTC 2021 - 1.9K bytes - Viewed (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py
client = TestClient(app) @pytest.mark.parametrize("compress", [True, False]) def test_gzip_request(compress): n = 1000 headers = {} body = [1] * n data = json.dumps(body).encode() if compress: data = gzip.compress(data) headers["Content-Encoding"] = "gzip" headers["Content-Type"] = "application/json" response = client.post("/sum", content=data, headers=headers)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Nov 13 14:26:09 UTC 2022 - 886 bytes - Viewed (0) -
docs/ja/docs/tutorial/encoder.md
```Python hl_lines="5 22" {!../../../docs_src/encoder/tutorial001.py!} ``` この例では、Pydanticモデルを`dict`に、`datetime`を`str`に変換します。 呼び出した結果は、Pythonの標準の<a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>でエンコードできるものです。 これはJSON形式のデータを含む大きな`str`を(文字列として)返しません。JSONと互換性のある値とサブの値を持つPython標準のデータ構造(例:`dict`)を返します。 !!! note "備考"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 22 20:09:02 UTC 2024 - 1.9K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
} func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump [<profile>]", Short: "Dumps an Istio configuration profile", Long: "The dump subcommand dumps the values in an Istio configuration profile.", Args: func(cmd *cobra.Command, args []string) error { if len(args) > 1 { return fmt.Errorf("too many positional arguments") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 7.1K bytes - Viewed (0)