Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1231 - 1240 of 2,182 for id (0.02 seconds)

  1. docs_src/sql_databases/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            private static AtomicInteger instanceCounter = new AtomicInteger(0);
            private final int id;
            private boolean destroyed = false;
    
            public TestComponent() {
                this.id = instanceCounter.incrementAndGet();
            }
    
            public int getId() {
                return id;
            }
    
            public boolean isDestroyed() {
                return destroyed;
            }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 13:07:01 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  3. docs/ru/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # Модель Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Это можно использовать так:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 16K bytes
    - Click Count (0)
  4. guava/src/com/google/common/reflect/TypeResolver.java

        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
        private final AtomicInteger id;
    
        private WildcardCapturer() {
          this(new AtomicInteger());
        }
    
        private WildcardCapturer(AtomicInteger id) {
          this.id = id;
        }
    
        final Type capture(Type type) {
          checkNotNull(type);
          if (type instanceof Class) {
            return type;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  5. src/main/resources/fess_label_zh_CN.properties

    labels.purgeSearchLogDay=删除搜索日志
    labels.query=查询
    labels.queryId=查询ID
    labels.rt=rt
    labels.searchLog=搜索日志
    labels.sort=排序
    labels.start=开始位置
    labels.loginRequired=需要登录
    labels.loginLink=显示登录链接
    labels.threadName=线程名称
    labels.url=URL
    labels.userFavorite=收藏日志
    labels.userInfo=用户信息
    labels.webApiJson=JSON响应
    labels.webConfigName=Web爬网配置名称
    labels.allLanguages=所有语言
    labels.dictId=字典ID
    labels.docId=文档ID
    labels.endTime=结束时间
    labels.hq=hq
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 04 09:16:23 GMT 2025
    - 43.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java

            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new ProtwordsFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. internal/event/config.go

    	return e.EncodeElement(s3KeyWrapper(s3Key), start)
    }
    
    // common - represents common elements inside <QueueConfiguration>, <CloudFunctionConfiguration>
    // and <TopicConfiguration>
    type common struct {
    	ID     string `xml:"Id" json:"Id"`
    	Filter S3Key  `xml:"Filter" json:"Filter"`
    	Events []Name `xml:"Event" json:"Event"`
    }
    
    // Queue - represents elements inside <QueueConfiguration>
    type Queue struct {
    	common
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                    <a class="btn btn-info" role="button" data-toggle="collapse" href="#accept-${changeId}" aria-expanded="false" aria-controls="collapseExample">Accept this change</a>
                    <div class="collapse" id="accept-${changeId}">
                      <div class="well">
                          In order to accept this change add the following to <code>${relativePathToMainApiChanges()}</code>:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. cmd/erasure-server-pool.go

    		}
    
    		if deploymentID == "" {
    			// all pools should have same deployment ID
    			deploymentID = formats[i].ID
    		}
    
    		// Validate if users brought different DeploymentID pools.
    		if deploymentID != formats[i].ID {
    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  10. docs_src/path_params_numeric_validations/tutorial002_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        q: str, item_id: Annotated[int, Path(title="The ID of the item to get")]
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 311 bytes
    - Click Count (0)
Back to Top