Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Lange (0.18 sec)

  1. ci/official/utilities/extract_resultstore_links.py

      with open(file_path, 'r', encoding='utf-8', errors='ignore') as f:
        log_lines = f.read().splitlines()
    
      result_store_links: ResultDictType = {}
      current_url = None
      for i in range(len(log_lines)):
        line = log_lines[i]
        result_store_line_match = re.search(RESULT_STORE_LINK_RE, line)
        if not result_store_line_match:
          continue
    
        url = result_store_line_match.group(1)
    Python
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. tests/test_additional_responses_router.py

    @router.get(
        "/b",
        responses={
            502: {"description": "Error 2"},
            "4XX": {"description": "Error with range, upper"},
        },
    )
    async def b():
        return "b"
    
    
    @router.get(
        "/c",
        responses={
            "400": {"description": "Error with str"},
            "5xx": {"description": "Error with range, lower"},
            "default": {"description": "A default response"},
        },
    )
    async def c():
        return "c"
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. bin/diff_yaml.py

            drop_keys(res, "metadata", "namespace")
    
        res = normalize_ports(res)
    
        res = normalize_configmap(res)
    
        return res
    
    
    def normalize(rl, args):
        for i in range(len(rl)):
            rl[i] = normalize_res(rl[i], args)
    
        return rl
    
    
    def compare(args):
        j0 = normalize(list(yaml.safe_load_all(open(args.orig))), args)
    Python
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  4. configure.py

          looping.
      """
      default = environ_cp.get(var_name) or var_default
      full_query = '%s [Default is %s]: ' % (
          ask_for_var,
          default,
      )
    
      for _ in range(n_ask_attempts):
        val = get_from_env_or_user_or_default(environ_cp, var_name, full_query,
                                              default)
        if check_success(val):
          break
        if not suppress_default_error:
    Python
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. docs_src/custom_response/tutorial007.py

    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    app = FastAPI()
    
    
    async def fake_video_streamer():
        for i in range(10):
            yield b"some fake video bytes"
    
    
    @app.get("/")
    async def main():
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 277 bytes
    - Viewed (0)
Back to top