Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,160 for nfields (0.03 sec)

  1. docs_src/dataclasses_/tutorial003_py310.py

    from dataclasses import field  # (1)
    
    from fastapi import FastAPI
    from pydantic.dataclasses import dataclass  # (2)
    
    
    @dataclass
    class Item:
        name: str
        description: str | None = None
    
    
    @dataclass
    class Author:
        name: str
        items: list[Item] = field(default_factory=list)  # (3)
    
    
    app = FastAPI()
    
    
    @app.post("/authors/{author_id}/items/", response_model=Author)  # (4)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. docs_src/dataclasses_/tutorial003_py39.py

    from dataclasses import field  # (1)
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic.dataclasses import dataclass  # (2)
    
    
    @dataclass
    class Item:
        name: str
        description: Union[str, None] = None
    
    
    @dataclass
    class Author:
        name: str
        items: list[Item] = field(default_factory=list)  # (3)
    
    
    app = FastAPI()
    
    
    @app.post("/authors/{author_id}/items/", response_model=Author)  # (4)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/pathmap/SearchForm.java

        /**
         * Default constructor for SearchForm.
         */
        public SearchForm() {
        }
    
        /**
         * The regular expression pattern field for path mapping.
         */
        public String regex;
    
        /**
         * The replacement string field for path mapping.
         */
        public String replacement;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

    from __future__ import annotations
    
    import uuid
    from dataclasses import dataclass, field
    from typing import Union
    
    from dirty_equals import IsUUID
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @dataclass
    class Item:
        id: uuid.UUID
        name: str
        price: float
        tags: list[str] = field(default_factory=list)
        description: Union[str, None] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  5. doc/asm.html

    as <code>reader__size</code> and the offsets of the two fields
    as <code>reader_buf</code> and <code>reader_r</code>.
    Hence, if register <code>R1</code> contains a pointer to
    a <code>reader</code>, assembly can reference the <code>r</code> field
    as <code>reader_r(R1)</code>.
    </p>
    
    <p>
    If any of these <code>#define</code> names are ambiguous (for example,
    a struct with a <code>_size</code> field), <code>#include
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:09:46 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            String result = queue.toString();
            assertNotNull(result);
            assertTrue(result.contains("UrlQueueImpl"));
        }
    
        public void test_complexScenario() {
            // Test complex scenario with all fields
            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
    
            Long id = 999L;
            String sessionId = "crawl-session-123";
            String method = "POST";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. internal/event/target/nsq.go

    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    // Validate NSQArgs fields
    func (n NSQArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.NSQDAddress.IsEmpty() {
    		return errors.New("empty nsqdAddress")
    	}
    
    	if n.Topic == "" {
    		return errors.New("empty topic")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/expiration.go

    	}
    
    	return nil
    }
    
    // IsDaysNull returns true if days field is null
    func (e Expiration) IsDaysNull() bool {
    	return e.Days == ExpirationDays(0)
    }
    
    // IsDateNull returns true if date field is null
    func (e Expiration) IsDateNull() bool {
    	return e.Date.IsZero()
    }
    
    // IsNull returns true if both date and days fields are null
    func (e Expiration) IsNull() bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String DATE = "Date";
    
      /** The HTTP {@code Pragma} header field name. */
      public static final String PRAGMA = "Pragma";
    
      /** The HTTP {@code Via} header field name. */
      public static final String VIA = "Via";
    
      /** The HTTP {@code Warning} header field name. */
      public static final String WARNING = "Warning";
    
      // HTTP Request header fields
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/PropertyDesc.java

         *
         * @return whether the property value can be set
         */
        boolean isWritable();
    
        /**
         * Returns the public field recognized as a property.
         *
         * @return the public field recognized as a property
         */
        Field getField();
    
        /**
         * Returns the property value.
         *
         * @param <T>
         *            the property type
         * @param target
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top