Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 944 for field32 (0.07 seconds)

  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)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.3K bytes
    - Click Count (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)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.4K bytes
    - Click Count (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;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1K bytes
    - Click Count (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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. cmd/metacache_gen.go

    func (z *metacache) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "end":
    			z.ended, err = dc.ReadTime()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10K bytes
    - Click Count (0)
  6. utils/tests/dummy_dialecter.go

    		DeleteClauses:        []string{"DELETE", "FROM", "WHERE", "RETURNING"},
    		LastInsertIDReversed: true,
    	})
    
    	return nil
    }
    
    func (DummyDialector) DefaultValueOf(field *schema.Field) clause.Expression {
    	return clause.Expr{SQL: "DEFAULT"}
    }
    
    func (DummyDialector) Migrator(*gorm.DB) gorm.Migrator {
    	return nil
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Mar 06 06:03:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  7. 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
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/NullnessCasts.java

       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/NullnessCasts.java

       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. model.go

    package gorm
    
    import "time"
    
    // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt
    // It may be embedded into your model or you may build your own model without it
    //
    //	type User struct {
    //	  gorm.Model
    //	}
    type Model struct {
    	ID        uint `gorm:"primarykey"`
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	DeletedAt DeletedAt `gorm:"index"`
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Feb 18 01:06:43 GMT 2023
    - 396 bytes
    - Click Count (0)
Back to Top