Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,304 for Id (0.01 seconds)

  1. docs_src/app_testing/app_b_an_py310/main.py

    from pydantic import BaseModel
    
    fake_secret_token = "coneofsilence"
    
    fake_db = {
        "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"},
        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: str | None = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 15 22:31:16 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_additional_responses/test_tutorial002.py

            },
            "components": {
                "schemas": {
                    "Item": {
                        "title": "Item",
                        "required": ["id", "value"],
                        "type": "object",
                        "properties": {
                            "id": {"title": "Id", "type": "string"},
                            "value": {"title": "Value", "type": "string"},
                        },
                    },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. cmd/batch-handlers.go

    					batchLogOnceIf(ctx, err, job.ID+"ReplicateToTarget")
    					success = false
    				} else {
    					stopFn(result, nil)
    				}
    				ri.trackCurrentBucketObject(r.Source.Bucket, result, success, attempts)
    				globalBatchJobsMetrics.save(job.ID, ri)
    				// persist in-memory state to disk after every 10secs.
    				batchLogOnceIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job), job.ID+"updateAfter2")
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  4. compat/maven-model-builder/src/test/resources/poms/validation/duplicate-plugin-execution.xml

            <executions>
              <execution>
                <id>a</id>
                <phase>test</phase>
              </execution>
              <execution>
                <id>a</id>
                <phase>test</phase>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>test</id>
          <build>
            <pluginManagement>
              <plugins>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  5. internal/event/target/mysql.go

    type MySQLTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       MySQLArgs
    	updateStmt *sql.Stmt
    	deleteStmt *sql.Stmt
    	insertStmt *sql.Stmt
    	db         *sql.DB
    	store      store.Store[event.Event]
    	firstPing  bool
    	loggerOnce logger.LogOnce
    
    	quitCh chan struct{}
    }
    
    // ID - returns target ID.
    func (target *MySQLTarget) ID() event.TargetID {
    	return target.id
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. internal/event/target/nats.go

    type NATSTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       NATSArgs
    	natsConn   *nats.Conn
    	stanConn   stan.Conn
    	jstream    nats.JetStream
    	store      store.Store[event.Event]
    	loggerOnce logger.LogOnce
    	quitCh     chan struct{}
    }
    
    // ID - returns target ID.
    func (target *NATSTarget) ID() event.TargetID {
    	return target.id
    }
    
    // Name - returns the Name of the target.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. guava-bom/pom.xml

        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>sonatype-oss-release</id>
          <build>
            <plugins>
              <plugin>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>${maven-gpg-plugin.version}</version>
                <executions>
                  <execution>
                    <id>sign-artifacts</id>
                    <phase>verify</phase>
                    <goals>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 19:50:42 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            this.id = id;
            this.url = url;
            this.layout = layout;
            this.snapshots = snapshots;
            this.releases = releases;
            //
            // Derive these from the URL
            //
            this.protocol = protocol(url);
            this.basedir = basedir(url);
        }
    
        public MavenArtifactRepository(
                String id,
                Path path,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                    if (!serverIds.add(server.getId())) {
                        addViolation(
                                problems,
                                Severity.WARNING,
                                "servers.server.id",
                                null,
                                "must be unique but found duplicate server with id " + server.getId());
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. internal/logger/logonce.go

    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    	} else if prev.Err.Error() == nerr.Error() {
    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top