Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for window (0.16 sec)

  1. tests/test_application.py

        assert (
            "oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect'"
            in response.text
        )
    
    
    def test_swagger_ui_oauth2_redirect():
        response = client.get("/docs/oauth2-redirect")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
        assert "window.opener.swaggerUIRedirectOauth2" in response.text
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  2. fastapi/openapi/docs.py

        <script>
            'use strict';
            function run () {
                var oauth2 = window.opener.swaggerUIRedirectOauth2;
                var sentState = oauth2.state;
                var redirectUrl = oauth2.redirectUrl;
                var isValid, qp, arr;
    
                if (/code|token|error/.test(window.location.hash)) {
                    qp = window.location.hash.substring(1).replace('?', '&');
                } else {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. tests/test_jsonable_encoder.py

                    arbitrary_types_allowed = True
    
        obj = ModelWithPath(path=PurePosixPath("/foo", "bar"))
        assert jsonable_encoder(obj) == {"path": "/foo/bar"}
    
    
    def test_encode_model_with_pure_windows_path():
        class ModelWithPath(BaseModel):
            path: PureWindowsPath
    
            if PYDANTIC_V2:
                model_config = {"arbitrary_types_allowed": True}
            else:
    
                class Config:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. configure.py

      # test_and_build_filters
      test_only_filters = ['-oss_serial']
      if is_windows():
        test_and_build_filters += ['-no_windows', '-windows_excluded']
        if ((environ_cp.get('TF_NEED_CUDA', None) == '1') or
            (environ_cp.get('TF_NEED_ROCM', None) == '1')):
          test_and_build_filters += ['-no_windows_gpu', '-no_gpu']
        else:
          test_and_build_filters.append('-gpu')
      elif is_macos():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top