Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,467 for dist (0.04 sec)

  1. tests/test_dependency_contextmanager.py

        pass
    
    
    class OtherDependencyError(Exception):
        pass
    
    
    async def asyncgen_state(state: Dict[str, str] = Depends(get_state)):
        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: Dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/extra-models.md

    ๐Ÿ–ผ ๐Ÿ”› ๐Ÿ‘ฅ ๐Ÿคš `user_dict` โšช๏ธโžก๏ธ `user_in.dict()`, ๐Ÿ‘‰ ๐Ÿ“Ÿ:
    
    ```Python
    user_dict = user_in.dict()
    UserInDB(**user_dict)
    ```
    
    ๐Ÿ”œ ๐ŸŒ“:
    
    ```Python
    UserInDB(**user_in.dict())
    ```
    
    ...โ†ฉ๏ธ `user_in.dict()` `dict`, & โคด๏ธ ๐Ÿ‘ฅ โš’ ๐Ÿ "๐ŸŽ" โšซ๏ธ ๐Ÿšถโ€โ™€๏ธ โšซ๏ธ `UserInDB` ๐Ÿ”  โฎ๏ธ `**`.
    
    , ๐Ÿ‘ฅ ๐Ÿคš Pydantic ๐Ÿท โšช๏ธโžก๏ธ ๐Ÿ’ฝ โž•1๏ธโƒฃ Pydantic ๐Ÿท.
    
    #### ๐ŸŽ `dict` & โž• ๐Ÿ‡จ๐Ÿ‡ป
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-drive.go

    }
    
    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    	if disk.Metrics == nil {
    		return
    	}
    
    	m.Set(driveTimeoutErrorsTotal, float64(disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveIOErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability-disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveAvailabilityErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability), labels...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object).
    
    And if we call:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. cmd/testdata/config/1.yaml

            - 'https://server-example-pool1:9000/mnt/disk{1...4}/'
            - 'https://server{1...2}-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
            - 'https://server{1...2}-pool2:9000/mnt/disk{1...4}/'
            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 881 bytes
    - Viewed (0)
  6. tests/test_router_events.py

        @asynccontextmanager
        async def lifespan(app: FastAPI) -> AsyncGenerator[Dict[str, bool], None]:
            state.app_startup = True
            yield {"app": True}
            state.app_shutdown = True
    
        @asynccontextmanager
        async def router_lifespan(app: FastAPI) -> AsyncGenerator[Dict[str, bool], None]:
            state.router_startup = True
            yield {"router": True}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:09:52 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    		healing := globalBackgroundHealState.getLocalHealingDisks()
    		for _, disk := range healing {
    			status.HealDisks = append(status.HealDisks, disk.Endpoint)
    		}
    
    		return status, true
    	}
    
    	si := o.LocalStorageInfo(ctx, true)
    
    	indexed := make(map[string][]madmin.Disk)
    	for _, disk := range si.Disks {
    		setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex)
    		indexed[setIdx] = append(indexed[setIdx], disk)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. fastapi/params.py

    import warnings
    from enum import Enum
    from typing import Any, Callable, Dict, List, Optional, Sequence, Union
    
    from fastapi.openapi.models import Example
    from pydantic.fields import FieldInfo
    from typing_extensions import Annotated, deprecated
    
    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

     */
    package org.codelibs.fess.app.web.api.admin.dict;
    
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.lastaflute.web.Execute;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top