- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for scatter (0.29 sec)
-
scripts/docs.py
# When running build_all(), that function already removes site_path. # All this is only relevant locally, on GitHub Actions all this is done through # artifacts and multiple workflows, so it doesn't matter if directories are # removed or not. else: dist_path = site_path / lang shutil.rmtree(dist_path, ignore_errors=True) current_dir = os.getcwd() os.chdir(lang_path)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Jan 22 19:26:14 GMT 2024 - 10.9K bytes - Viewed (1) -
tests/test_response_change_status_code.py
from fastapi import Depends, FastAPI, Response from fastapi.testclient import TestClient app = FastAPI() async def response_status_setter(response: Response): response.status_code = 201 async def parent_dep(result=Depends(response_status_setter)): return result @app.get("/", dependencies=[Depends(parent_dep)]) async def get_main(): return {"msg": "Hello World"} client = TestClient(app)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 589 bytes - Viewed (0) -
bin/diff_yaml.py
# See the License for the specific language governing permissions and # limitations under the License. # # Compare 2 multi document kubernetes yaml files # It ensures that order does not matter # from __future__ import print_function import argparse import datadiff import sys import yaml # pyyaml # returns fully qualified resource name of the k8s resource def by_resource_name(res):
Python - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Mar 03 16:14:57 GMT 2021 - 4.5K bytes - Viewed (0)