Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 296 for dark (0.13 seconds)

  1. cmd/data-usage-cache.go

    	found := make(map[string]struct{}, len(d.Cache))
    
    	// Mark all children recursively
    	var mark func(entry dataUsageEntry)
    	mark = func(entry dataUsageEntry) {
    		for k := range entry.Children {
    			found[k] = struct{}{}
    			if ch, ok := d.Cache[k]; ok {
    				mark(ch)
    			}
    		}
    	}
    	found[top] = struct{}{}
    	mark(*topE)
    
    	// Delete all entries not found.
    	for k := range d.Cache {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  2. docs/en/docs/how-to/separate-openapi-schemas.md

    The way to describe this in OpenAPI, is to mark that field as **required**, because it will always be there.
    
    Because of that, the JSON Schema for a model can be different depending on if it's used for **input or output**:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    o zaman bu bir "callable" demektir.
    
    ## Dependency Olarak Class'lar { #classes-as-dependencies_1 }
    
    Python'da bir class'tan instance oluştururken de aynı söz dizimini kullandığınızı fark etmiş olabilirsiniz.
    
    Örneğin:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. internal/rest/client.go

    func NewClient(uu *url.URL, tr http.RoundTripper, auth func() string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    	}
    	// The host's colon:port should be normalized. See Issue 14836.
    	u.Host = removeEmptyPort(u.Host)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. tests/test_annotated.py

                "loc": ["query", "foo"],
                "msg": "String should have at least 1 character",
                "type": "string_too_short",
                "input": "",
            }
        ]
    }
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/default", 200, {"foo": "foo"}),
            ("/default?foo=bar", 200, {"foo": "bar"}),
            ("/required?foo=bar", 200, {"foo": "bar"}),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. tests/test_security_oauth2_optional.py

                    "type": "missing",
                    "loc": ["body", "grant_type"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        argnames=["grant_type"],
        argvalues=[
            pytest.param("incorrect", id="incorrect value"),
            pytest.param("passwordblah", id="password with suffix"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  7. cmd/encryption-v1_test.go

    				} else {
    					// current part has the last
    					// byte required
    					lbPartOffset := partOffset + toRead - 1
    
    					// round up the lbPartOffset
    					// to the end of the
    					// corresponding DARE package
    					lbPkgEndOffset := min(lbPartOffset-(lbPartOffset%pkgSz)+pkgSz, v)
    					bytesToDrop := v - lbPkgEndOffset
    
    					// Last segment to update `l`
    					l += getEncSize(currentPartDareBytes - bytesToDrop)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/query-params.md

    Bu durumda, fonksiyon parametresi `q` isteğe bağlı olur ve varsayılan olarak `None` olur.
    
    /// check | Ek bilgi
    
    Ayrıca, **FastAPI** path parametresi olan `item_id`'nin bir path parametresi olduğunu ve `q`'nun path olmadığını fark edecek kadar akıllıdır; dolayısıyla bu bir query parametresidir.
    
    ///
    
    ## Sorgu parametresi tip dönüşümü { #query-parameter-type-conversion }
    
    `bool` tipleri de tanımlayabilirsiniz, ve bunlar dönüştürülür:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  9. tests/test_security_oauth2.py

                    "type": "missing",
                    "loc": ["body", "grant_type"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        argnames=["grant_type"],
        argvalues=[
            pytest.param("incorrect", id="incorrect value"),
            pytest.param("passwordblah", id="password with suffix"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  10. tests/test_security_oauth2_optional_description.py

                    "type": "missing",
                    "loc": ["body", "grant_type"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        argnames=["grant_type"],
        argvalues=[
            pytest.param("incorrect", id="incorrect value"),
            pytest.param("passwordblah", id="password with suffix"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
Back to Top