Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1311 - 1320 of 2,305 for id (0.02 seconds)

  1. docs_src/dependencies/tutorial014_an_py310.py

    from fastapi.responses import StreamingResponse
    from sqlmodel import Field, Session, SQLModel, create_engine
    
    engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db")
    
    
    class User(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str
    
    
    app = FastAPI()
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  2. schema/relationship.go

    			if len(primaryFields) == 1 {
    				lookUpNames = append(lookUpNames, strings.TrimSuffix(lookUpName, primaryField.Name)+"ID",
    					strings.TrimSuffix(lookUpName, primaryField.Name)+"Id", schema.namer.ColumnName(foreignSchema.Table,
    						strings.TrimSuffix(lookUpName, primaryField.Name)+"ID"))
    			}
    
    			for _, name := range lookUpNames {
    				if f := foreignSchema.LookUpFieldByBindName(field.BindNames, name); f != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 16 04:11:05 GMT 2025
    - 23.1K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            verifyToken(() -> asHtml(path_AdminPlugin_AdminPluginInstallpluginJsp));
            try {
                if (UPLOAD.equals(form.id)) {
                    if (form.jarFile == null) {
                        throwValidationError(messages -> messages.addErrorsPluginFileIsNotFound(GLOBAL, form.id), this::asListHtml);
                    }
                    if (!form.jarFile.getFileName().endsWith(".jar")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/configurations/CompileAll.kt

    import common.setArtifactRules
    import model.CIBuildModel
    import model.Stage
    
    class CompileAll(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Compile All"
            description = "Compiles all production/test source code and warms up the build cache"
    
            features {
                publishBuildStatusToGithub(model)
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. .ci/scripts/packaging-test.sh

    rm -Rfv $HOME/.gradle/init.d/ && mkdir -p $HOME/.gradle/init.d
    cp -v .ci/init.gradle $HOME/.gradle/init.d
    
    unset JAVA_HOME
    
    if [ -f "/etc/os-release" ] ; then
        cat /etc/os-release
        . /etc/os-release
        if [[ "$ID" == "debian" || "$ID_LIKE" == "debian" ]] ; then
            # FIXME: The base image should not have rpm installed
            sudo rm -Rf /usr/bin/rpm
            # Work around incorrect lintian version
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

         */
        @Override
        public void explicitlyActivate(String profileId) {
            if (!activatedIds.contains(profileId)) {
                logger.debug("Profile with id: '" + profileId + "' has been explicitly activated.");
    
                activatedIds.add(profileId);
            }
        }
    
        /* (non-Javadoc)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemMergerTest.java

            SuggestItem item2 = createItem("text", 20L, 15L, 2.0f);
    
            SuggestItem merged = SuggestItemMerger.merge(item1, item2);
    
            // ID is auto-generated from text, so both items and merged should have same ID
            assertEquals(item1.getId(), merged.getId());
        }
    
        private SuggestItem createItem(String text, long docFreq, long queryFreq, float userBoost) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6K bytes
    - Click Count (0)
  8. docs/zh/docs/features.md

    # 将变量声明为 str
    # 并在函数内获得编辑器支持
    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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. cmd/api-response.go

    	listPartsResponse.StorageClass = globalMinioDefaultStorageClass
    
    	// Dumb values not meaningful
    	listPartsResponse.Initiator = Initiator{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    	listPartsResponse.Owner = Owner{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    
    	listPartsResponse.MaxParts = partsInfo.MaxParts
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  10. internal/grid/connection.go

    }
    
    func gridLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "grid", err, id, errKind...)
    }
    
    // A Connection is a remote connection.
    // There is no distinction externally whether the connection was initiated from
    // this server or from the remote.
    type Connection struct {
    	// NextID is the next ID that can be used (atomic).
    	NextID uint64
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
Back to Top