- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for styled (0.2 sec)
-
docs_src/body_updates/tutorial002_py39.py
return items[item_id] @app.patch("/items/{item_id}", response_model=Item) async def update_item(item_id: str, item: Item): stored_item_data = items[item_id] stored_item_model = Item(**stored_item_data) update_data = item.dict(exclude_unset=True) updated_item = stored_item_model.copy(update=update_data) items[item_id] = jsonable_encoder(updated_item)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 1K bytes - Viewed (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
assert response.status_code == 200, response.text assert ( b'<h1><a href="http://testserver/items/foo">Item ID: foo</a></h1>' in response.content ) response = client.get("/static/styles.css") assert response.status_code == 200, response.text assert b"color: green;" in response.content shutil.rmtree("./templates")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 910 bytes - Viewed (0) -
bin/diff_yaml.py
print("##", "*" * 25) for k in sorted(common): if q0[k] != q1[k]: print("## ", k) s0 = yaml.safe_dump(q0[k], default_flow_style=False, indent=2) s1 = yaml.safe_dump(q1[k], default_flow_style=False, indent=2) print(datadiff.diff(s0, s1, fromfile=args.orig, tofile=args.new)) return changed + len(added) + len(removed) def main(args):
Python - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 03 16:14:57 GMT 2021 - 4.5K bytes - Viewed (0) -
ci/official/wheel_test/test_import_api_packages.py
from the current build or not. It uses the `_api/v2/api_packages.txt` file from the local wheel file. The `_api/v2/api_packages.txt` file is created during the process of generating TensorFlow API v2 init files and is stored in the wheel file after the build. See README.md file for "how to run" instruction. """ import logging import unittest import pkg_resources logging.basicConfig(level=logging.INFO)
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 13 15:52:07 GMT 2023 - 3.3K bytes - Viewed (1)