- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for comme (0.16 sec)
-
docs_src/response_cookies/tutorial001.py
from fastapi import FastAPI from fastapi.responses import JSONResponse app = FastAPI() @app.post("/cookie/") def create_cookie(): content = {"message": "Come to the dark side, we have cookies"} response = JSONResponse(content=content) response.set_cookie(key="fakesession", value="fake-cookie-session-value")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 344 bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
break k -= 1 # A low-effort attempt to find the bazel command that triggered the # invocation. bazel_comm_min_line_i = (previous_end_line if previous_end_line is not None else 0) while k > bazel_comm_min_line_i: backtrack_line = log_lines[k] # Don't attempt to parse multi-line commands broken up by backslashes
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Viewed (0) -
tests/test_tutorial/test_response_cookies/test_tutorial002.py
client = TestClient(app) def test_path_operation(): response = client.post("/cookie-and-object/") assert response.status_code == 200, response.text assert response.json() == {"message": "Come to the dark side, we have cookies"}
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jul 09 18:06:12 GMT 2020 - 414 bytes - Viewed (0) -
docs_src/response_cookies/tutorial002.py
app = FastAPI() @app.post("/cookie-and-object/") def create_cookie(response: Response): response.set_cookie(key="fakesession", value="fake-cookie-session-value")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 272 bytes - Viewed (0) -
tests/test_tutorial/test_response_cookies/test_tutorial001.py
client = TestClient(app) def test_path_operation(): response = client.post("/cookie/") assert response.status_code == 200, response.text assert response.json() == {"message": "Come to the dark side, we have cookies"}
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jul 09 18:06:12 GMT 2020 - 403 bytes - Viewed (0) -
tensorflow/__init__.py
app.flags = flags # These symbols appear because we import the python package which # in turn imports from tensorflow.core and tensorflow.python. They # must come from this module. So python adds these symbols for the # resolution to succeed. # pylint: disable=undefined-variable del python del core
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Sep 28 21:37:05 GMT 2021 - 1.4K bytes - Viewed (0) -
configure.py
write_to_bazelrc('build --copt=-Wno-gnu-offsetof-extensions') def set_tf_cuda_paths(environ_cp): """Set TF_CUDA_PATHS.""" ask_cuda_paths = ( 'Please specify the comma-separated list of base paths to look for CUDA ' 'libraries and headers. [Leave empty to use the default]: ') tf_cuda_paths = get_from_env_or_user_or_default(environ_cp, 'TF_CUDA_PATHS',
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (0)