Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 2,123 for pathf (0.03 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### コード内での`HTTPException`の発生
    
    `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。
    
    Pythonの例外なので、`return`ではなく、`raise`です。
    
    これはまた、*path operation関数*の内部で呼び出しているユーティリティ関数の内部から`HTTPException`を発生させた場合、*path operation関数*の残りのコードは実行されず、そのリクエストを直ちに終了させ、`HTTPException`からのHTTPエラーをクライアントに送信することを意味します。
    
    値を返す`return`よりも例外を発生させることの利点は、「依存関係とセキュリティ」のセクションでより明確になります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. scripts/playwright/separate_openapi_schemas/image01.py

        page.goto("http://localhost:8000/docs")
        page.get_by_text("POST/items/Create Item").click()
        page.get_by_role("tab", name="Schema").first.click()
        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:14:46 UTC 2024
    - 974 bytes
    - Viewed (0)
  3. misc/ios/clangwrap.sh

    # iphonesimulator with one of them.
    
    SDK=iphonesimulator
    PLATFORM=ios-simulator
    
    if [ "$GOARCH" == "arm64" ]; then
    	CLANGARCH="arm64"
    else
    	CLANGARCH="x86_64"
    fi
    
    SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
    
    # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
    CLANG=`xcrun --sdk $SDK --find clang`
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 724 bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    					"Authorization": []string{"Bearer 12313123"},
    				},
    			},
    			authT: authTypeJWT,
    		},
    		// Test case - 3
    		// Empty authorization header.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cni/pkg/install/testdata/list.conflist.golden

          "type": "bridge"
        },
        {
          "sysctl": {
            "net.core.somaxconn": "500"
          },
          "type": "tuning"
        },
        {
          "ambient_enabled": false,
          "cni_agent_run_dir": "/path/to/kubeconfig",
          "dns": {},
          "exclude_namespaces": [
            ""
          ],
          "ipam": {},
          "name": "istio-cni",
          "plugin_log_level": "debug",
          "type": "istio-cni"
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 776 bytes
    - Viewed (0)
  6. istioctl/pkg/util/common.go

    	binversion "istio.io/istio/operator/version"
    )
    
    var NeverMatch = &metav1.LabelSelector{
    	MatchLabels: map[string]string{
    		"istio.io/deactivated": "never-match",
    	},
    }
    
    var ManifestsFlagHelpStr = `Specify a path to a directory of charts and profiles
    (e.g. ~/Downloads/istio-` + binversion.OperatorVersionString + `/manifests).`
    
    // CommandParseError distinguishes an error parsing istioctl CLI arguments from an error processing
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/main/resources/crawler/extractor+tikaExtractor.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components namespace="fessCrawler">
    	<include path="crawler/container.xml" />
    	<component name="tikaExtractor"
    		class="org.codelibs.fess.crawler.extractor.impl.TikaExtractor">
    		<property name="maxCompressionRatio">2</property>
    		<property name="maxUncompressionSize">10000000</property>
    	</component>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Aug 25 12:46:12 UTC 2019
    - 461 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. tests/test_security_api_key_header_optional.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/me": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top