Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,979 for id (0.02 sec)

  1. docs_src/app_testing/app_b/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: Union[str, None] = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:44:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/04-vuln.yml

            DB updated: 2023-11-21 15:39:17 +0000 UTC
        validations:
          required: true
      - type: textarea
        id: reproduce-latest-version
        attributes:
          label: "Does this issue reproduce at the latest version of golang.org/x/vuln?"
        validations:
          required: true
      - type: textarea
        id: go-env
        attributes:
          label: "Output of `go env` in your module/workspace:"
          render: shell
        validations:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs_src/templates/templates/item.html

    <html>
    <head>
        <title>Item Details</title>
        <link href="{{ url_for('static', path='/styles.css') }}" rel="stylesheet">
    </head>
    <body>
        <h1><a href="{{ url_for('read_item', id=id) }}">Item ID: {{ id }}</a></h1>
    </body>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 22:25:37 UTC 2024
    - 235 bytes
    - Viewed (0)
  4. api/maven-api-plugin/pom.xml

      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>plugin</id>
                <goals>
                  <goal>velocity</goal>
                </goals>
                <phase>generate-sources</phase>
                <configuration>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

            }
    
            public String getTypePrefix() {
                return typePrefix;
            }
    
            String getConfigId(final String id) {
                if (id == null) {
                    return null;
                }
                return typePrefix + id.toString();
            }
        }
    
        public enum ConfigName {
            CLIENT, XPATH, META, VALUE, SCRIPT, FIELD, CONFIG;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class ClassDoc implements DslElementDoc {
        private final String className
        private final String id
        private final String simpleName
        final ClassMetaData classMetaData
        private final Element classSection
        final ClassExtensionMetaData extensionMetaData
        private final List<PropertyDoc> classProperties = []
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  7. .github/workflows/check-bad-merge.yml

          - name: Check PR commits
            id: run_check
            run: |
              groovy .github/workflows/CheckBadMerge.groovy $(<pr_commits.txt) > output.txt 2>&1
          - name: Read output file
            id: read_output
            if: ${{ always() }}
            run: |
              cat output.txt
              OUTPUT=$(cat output.txt)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. tests/test_additional_responses_default_validationerror.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. internal/s3select/jstream/decoder_test.go

    	var (
    		counter int
    		mv      *MetaValue
    		body    = `{ "bio": "bada bing bada boom", "id": 1, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 2, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 3, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 4, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 5, "name": "Charles" }
    `
    	)
    
    	decoder := NewDecoder(mkReader(body), 0)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. cmd/api-headers_test.go

    package cmd
    
    import (
    	"testing"
    )
    
    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    	var e rune
    	for _, char := range id {
    		e = char
    
    		// Ensure that it is alphanumeric, in this case, between 0-9 and A-Z.
    		if !(('0' <= e && e <= '9') || ('A' <= e && e <= 'Z')) {
    			t.Fail()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top