Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 4,044 for Fname (0.11 sec)

  1. tests/test_security_api_key_query.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. .github/dependabot.yml

          github-actions:
            patterns:
              - "*"
    
      - package-ecosystem: docker
        directory: /ci/devinfra/docker_windows
        schedule:
          interval: monthly
        ignore:
          - dependency-name: "*"
            update-types: ["version-update:semver-major", "version-update:semver-minor"]
    
      - package-ecosystem: docker
        directory: /tensorflow/tools/gcs_test
        schedule:
          interval: monthly
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Jun 04 01:09:09 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. .github/workflows/update-nightly.yml

    name: Set nightly branch to master HEAD
    
    permissions: {}
    
    jobs:
      master-to-nightly:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
        - uses: zofrex/mirror-branch@0be56f4c8077a288a635a491b306ba0bb1c810e6 # v1.0.4
          name: Set nightly branch to master HEAD
          with:
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Jun 26 15:41:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. docs_src/path_operation_configuration/tutorial004_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
        - **description**: a long description
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 638 bytes
    - Viewed (0)
  5. internal/event/target/mqtt.go

    	quitCh     chan struct{}
    	loggerOnce logger.LogOnce
    }
    
    // ID - returns target ID.
    func (target *MQTTTarget) ID() event.TargetID {
    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *MQTTTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *MQTTTarget) Store() event.TargetStore {
    	return target.store
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    	quitCh     chan struct{}
    }
    
    // ID - returns target ID.
    func (target *ElasticsearchTarget) ID() event.TargetID {
    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *ElasticsearchTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *ElasticsearchTarget) Store() event.TargetStore {
    	return target.store
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        @Test
        @DisplayName("Invalid: resolving class by null name throws NPE")
        void testClassForNameWithNull() {
            // Intent: demonstrate defensive behavior with null when resolving this type by name
            assertThrows(NullPointerException.class, () -> Class.forName(null));
        }
    
        @Test
        @DisplayName("Happy path: class is loadable via fully qualified name")
        void testClassForName() throws Exception {
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
         * Verifies that the method returns the name of the principal.
         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
            String expectedUserName = "testUser";
            when(mockPrincipal.getName()).thenReturn(expectedUserName);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. tests/test_response_model_sub_types.py

            },
            "components": {
                "schemas": {
                    "Model": {
                        "title": "Model",
                        "required": ["name"],
                        "type": "object",
                        "properties": {"name": {"title": "Name", "type": "string"}},
                    }
                }
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java

            this.requiresSubscription = requiresSubscription;
        }
    
        /**
         * Gets the uploader name.
         * @return the uploader
         */
        public String getUploader() {
            return uploader;
        }
    
        /**
         * Sets the uploader name.
         * @param uploader the uploader to set
         */
        public void setUploader(final String uploader) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top