Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 4,044 for uname (0.03 sec)

  1. tests/test_tutorial/test_websockets/test_tutorial003.py

    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial003_py39"),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.websockets.{request.param}")
    
        return mod
    
    
    @pytest.fixture(name="html")
    def get_html(mod: ModuleType):
        return mod.html
    
    
    @pytest.fixture(name="client")
    def get_client(mod: ModuleType):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 499 bytes
    - Viewed (0)
  3. docs_src/schema_extra_example/tutorial001_pv1_py39.py

    from pydantic.v1 import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
        class Config:
            schema_extra = {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 672 bytes
    - Viewed (0)
  4. docs_src/schema_extra_example/tutorial003_an_py39.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 692 bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // Given: SAM entry with data
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                entry.idx = 1;
                entry.name = new rpc.unicode_string();
                entry.name.length = 4;
                entry.name.maximum_length = 6;
                entry.name.buffer = new short[] { 't', 'e', 's', 't' };
    
                // When: Encoding entry
                entry.encode(mockNdrBuffer);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

        public static class TestSerializableClass implements Serializable {
            private static final long serialVersionUID = 1L;
    
            public String name;
            public int value;
    
            public TestSerializableClass(final String name, final int value) {
                this.name = name;
                this.value = value;
            }
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlResponse.java

         *
         * @param name the name of the header.
         * @return an array of header values, or an empty array if the header does not exist.
         */
        public String[] getHeaderValues(final String name) {
            if (headers == null) {
                return new String[0];
            }
            final List<String> list = headers.get(name.toLowerCase(Locale.ROOT));
            if (list == null) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ResourceUtil.java

     * It supports both regular deployment and Docker container environments.
     *
     */
    public class ResourceUtil {
        /** Environment variable name for overriding the configuration path */
        private static final String FESS_OVERRIDE_CONF_PATH = "FESS_OVERRIDE_CONF_PATH";
    
        /** Environment variable name for specifying the application type */
        private static final String FESS_APP_TYPE = "FESS_APP_TYPE";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. cmd/bucket-object-lock.go

    			apiErr := isPutRetentionAllowed(oi.Bucket, oi.Name,
    				days, objRetention.RetainUntilDate.Time,
    				objRetention.Mode, byPassSet, r, cred,
    				owner)
    			if apiErr == ErrAccessDenied {
    				return errAuthentication
    			}
    			return nil
    		}
    
    		switch ret.Mode {
    		case objectlock.RetGovernance:
    			govPerm := isPutRetentionAllowed(oi.Bucket, oi.Name, days,
    				objRetention.RetainUntilDate.Time, objRetention.Mode,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

        /**
         * Adds a script engine.
         * @param name The name of the script engine.
         * @param scriptEngine The script engine.
         */
        public void add(final String name, final ScriptEngine scriptEngine) {
            if (name == null || scriptEngine == null) {
                throw new IllegalArgumentException(
                        "Both name and scriptEngine parameters are required. name: " + name + ", scriptEngine: " + scriptEngine);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top