Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1061 - 1070 of 1,636 for convex (0.05 seconds)

  1. docs/en/docs/advanced/response-headers.md

    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_debugging/test_tutorial001.py

        client = TestClient(mod.app)
        return client
    
    
    def test_uvicorn_run_is_not_called_on_import():
        if sys.modules.get(MOD_NAME):
            del sys.modules[MOD_NAME]  # pragma: no cover
        with unittest.mock.patch("uvicorn.run") as uvicorn_run_mock:
            importlib.import_module(MOD_NAME)
        uvicorn_run_mock.assert_not_called()
    
    
    def test_get_root(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            }
    
            return true;
        }
    
        /**
         * Deletes the scroll context associated with the given scroll ID.
         *
         * @param client the OpenSearch client used to clear the scroll context
         * @param scrollId the ID of the scroll context to be deleted; if null, no action is taken
         */
        public static void deleteScrollContext(final Client client, final String scrollId) {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  4. cmd/metrics-resource.go

    		Help:      help,
    		Type:      gaugeMetric,
    	}
    }
    
    func getResourceMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: resourceMetricsCacheInterval,
    	}
    	mg.RegisterRead(func(ctx context.Context) []MetricV2 {
    		metrics := []MetricV2{}
    
    		subSystems := []MetricSubsystem{interfaceSubsystem, memSubsystem, driveSubsystem, cpuSubsystem}
    		resourceMetricsMapMu.RLock()
    		defer resourceMetricsMapMu.RUnlock()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  5. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
       * multiple cookies in a single request header, which [Cookie.parse] doesn't support.
       */
      private fun decodeHeaderAsJavaNetCookies(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

                resultData.setEncoding(responseData.getCharSet());
                return resultData;
            } catch (final IOException e) {
                throw new CrawlerSystemException("Could not convert the input stream.", e);
            }
    
        }
    
        /**
         * Retrieves data from the given AccessResultData object as a ByteArrayInputStream.
         * @param accessResultData The AccessResultData object.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. .github/workflows/build-docs.yml

          - langs
        if: ${{ needs.changes.outputs.docs == 'true' }}
        runs-on: ubuntu-latest
        strategy:
          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/header-param-models.md

                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Desativar conversão de underscores { #disable-convert-underscores }
    
    Da mesma forma que com parâmetros de cabeçalho normais, quando você tem caracteres de sublinhado nos nomes dos parâmetros, eles são **automaticamente convertidos em hifens**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/header-param-models.md

                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Desactivar la conversión de guiones bajos { #disable-convert-underscores }
    
    De la misma forma que con los parámetros de header normales, cuando tienes caracteres de guion bajo en los nombres de los parámetros, se **convierten automáticamente en guiones**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. cmd/api-errors_test.go

    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode)
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top