Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for urlpkg (0.15 sec)

  1. docs_src/custom_docs_ui/tutorial001.py

            openapi_url=app.openapi_url,
            title=app.title + " - Swagger UI",
            oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url,
            swagger_js_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js",
            swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css",
        )
    
    
    @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False)
    async def swagger_ui_redirect():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" in response.text
        assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" in response.text
    
    
    def test_swagger_ui_oauth2_redirect_html(client: TestClient):
        response = client.get("/docs/oauth2-redirect")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/inl_test.go

    		pw.Close()
    	}()
    	scanner := bufio.NewScanner(pr)
    	curPkg := ""
    	canInline := regexp.MustCompile(`: can inline ([^ ]*)`)
    	haveInlined := regexp.MustCompile(`: inlining call to ([^ ]*)`)
    	cannotInline := regexp.MustCompile(`: cannot inline ([^ ]*): (.*)`)
    	for scanner.Scan() {
    		line := scanner.Text()
    		if strings.HasPrefix(line, "# ") {
    			curPkg = line[2:]
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/custom-docs-ui-assets.md

    ## Custom CDN for JavaScript and CSS
    
    Let's say that you want to use a different <abbr title="Content Delivery Network">CDN</abbr>, for example you want to use `https://unpkg.com/`.
    
    This could be useful if for example you live in a country that restricts some URLs.
    
    ### Disable the automatic docs
    
    The first step is to disable the automatic docs, as by default, those use the default CDN.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/custom-docs-ui-assets.md

    ## Benutzerdefiniertes CDN für JavaScript und CSS
    
    Nehmen wir an, Sie möchten ein anderes <abbr title="Content Delivery Network">CDN</abbr> verwenden, zum Beispiel möchten Sie `https://unpkg.com/` verwenden.
    
    Das kann nützlich sein, wenn Sie beispielsweise in einem Land leben, in dem bestimmte URLs eingeschränkt sind.
    
    ### Die automatischen Dokumentationen deaktivieren
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/internal/testdir/testdir_test.go

    		longdir := filepath.Join(t.gorootTestDir, t.goDirName())
    		pkgs := goDirPackages(t.T, longdir, singlefilepkgs)
    		errPkg := len(pkgs) - 1
    		if wantError && action == "errorcheckandrundir" {
    			// The last pkg should compiled successfully and will be run in next case.
    			// Preceding pkg must return an error from compileInDir.
    			errPkg--
    		}
    		importcfgfile := importcfg(pkgs)
    		for i, pkg := range pkgs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/data.go

    			// be made regarding reachability and the need for trampolines.
    			if symPkg := ldr.SymPkg(s); symPkg != "" && curPkg != symPkg {
    				curPkg = symPkg
    				vaTmp := va
    				for j := i; j < len(ctxt.Textp); j++ {
    					curSym := ctxt.Textp[j]
    					if symPkg := ldr.SymPkg(curSym); symPkg == "" || curPkg != symPkg {
    						break
    					}
    					// We do not pass big to assignAddress here, as this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  8. configure.py

      if is_windows() or is_cygwin():
        properties_path = cygpath(properties_path)
      with open(properties_path, 'r') as f:
        filedata = f.read()
    
      revision = re.search(r'Pkg.Revision = (\d+)', filedata)
      if revision:
        ndk_version = revision.group(1)
      else:
        raise Exception('Unable to parse NDK revision.')
      if int(ndk_version) not in _SUPPORTED_ANDROID_NDK_VERSIONS:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. gradle/verification-keyring.keys

    sub    606CC6C4533E81A2
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    Version: BCPG v1.68
    
    mQGNBGAic/4BDACtIv4a32pL+84jJNhJ1yb6GFgoWknJSJ6IELIL0Z7m+FYsymRs
    lTJ/QwBgjZlgS3HS7IBhEl5o+kEt2/U5lPkz/krP8By8EvRv18PpfBzmXNT8rGqc
    3Kq6CSye+aLfdtY2yP60yZCtES/E8s3gIQWV+yFbVm8K8nhMTUnHRxYEcWfK7YI9
    FwjRkSVuOQHhOYJKYeSxRvmARd8i355MN8unPhkuY3stBuWoZYNjSuXXE8fs4DBL
    0yx0lkzH5jI5E1lagp98ChOjbLQuACvVLxLP326ktgQjeZjO5xqe+Rm5h9iV2ETw
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 525.2K bytes
    - Viewed (0)
Back to top