Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 350 for sub (0.02 seconds)

  1. docs/ru/docs/async.md

    ### Подзависимости { #sub-dependencies }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  2. cmd/bucket-object-lock.go

    	}
    
    	// Pass in relative days from current time, to additionally
    	// to verify "object-lock-remaining-retention-days" policy if any.
    	days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24))
    
    	ret := objectlock.GetObjectRetentionMeta(oi.UserDefined)
    	if ret.Mode.Valid() {
    		// Retention has expired you may change whatever you like.
    		if ret.RetainUntilDate.Before(t) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

         * For example, if the {@code module-info.class} entry of a <abbr>JAR</abbr> file exists only in the
         * {@code META-INF/versions/17/} sub-directory, then the default location of that dependency will be
         * the module-path only if the {@code --release} option is equal or greater than 17.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  4. internal/rest/client.go

    				if atomic.LoadInt32(&c.connected) == closed {
    					return
    				}
    				if c.HealthCheckFn() {
    					if atomic.CompareAndSwapInt32(&c.connected, offline, online) {
    						now := time.Now()
    						disconnected := now.Sub(c.LastConn())
    						logger.Event(context.Background(), "healthcheck", "Client '%s' re-connected in %s", c.url.String(), disconnected)
    						atomic.StoreInt64(&c.lastConn, now.UnixNano())
    					}
    					return
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/settings.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    ---> 100%
    ```
    
    </div>
    
    ### Create the `Settings` object { #create-the-settings-object }
    
    Import `BaseSettings` from Pydantic and create a sub-class, very much like with a Pydantic model.
    
    The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. scripts/docs.py

        post_content = content[post_start:]
        new_content = pre_content + message + post_content
        # Remove content between <!-- only-mkdocs --> and <!-- /only-mkdocs -->
        new_content = re.sub(
            r"<!-- only-mkdocs -->.*?<!-- /only-mkdocs -->",
            "",
            new_content,
            flags=re.DOTALL,
        )
        return new_content
    
    
    @app.command()
    def generate_readme() -> None:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/behind-a-proxy.md

    如果不想让 **FastAPI** 包含使用 `root_path` 的自动服务器,则要使用参数 `root_path_in_servers=False`:
    
    {* ../../docs_src/behind_a_proxy/tutorial004.py hl[9] *}
    
    这样,就不会在 OpenAPI 概图中包含服务器了。
    
    ## 挂载子应用
    
    如需挂载子应用(详见 [子应用 - 挂载](sub-applications.md){.internal-link target=_blank}),也要通过 `root_path` 使用代理,这与正常应用一样,别无二致。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  8. fastapi/_compat/v2.py

    # Pydantic v2 and allow mixing the models
    
    TypeModelOrEnum = Union[type["BaseModel"], type[Enum]]
    TypeModelSet = set[TypeModelOrEnum]
    
    
    def normalize_name(name: str) -> str:
        return re.sub(r"[^a-zA-Z0-9.\-_]", "_", name)
    
    
    def get_model_name_map(unique_models: TypeModelSet) -> dict[TypeModelOrEnum, str]:
        name_model_map = {}
        for model in unique_models:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  9. cmd/bucket-replication-metrics.go

    	m.lock.Lock()
    	defer func() {
    		m.startTime = endTime
    		m.lock.Unlock()
    	}()
    
    	if m.startTime.IsZero() {
    		return
    	}
    
    	if endTime.Before(m.startTime) {
    		return
    	}
    
    	duration := endTime.Sub(m.startTime)
    
    	bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0)
    
    	if m.expMovingAvg == 0 {
    		// Should address initial calculation and should be fine for resuming from 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 14.2K bytes
    - Click Count (0)
  10. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "Asia", "", "", 10, resultCases[24], nil, true},
    		// Tests with prefix and delimiter (55-57).
    		// With delimiter the code should not recurse into the sub-directories of prefix Dir.
    		{"test-bucket-list-object", "Asia", "", SlashSeparator, 10, resultCases[25], nil, true},
    		{"test-bucket-list-object", "new", "", SlashSeparator, 10, resultCases[26], nil, true},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top