Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 4,228 for NAME (0.08 seconds)

  1. docs_src/separate_openapi_schemas/tutorial002_py310.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    app = FastAPI(separate_input_output_schemas=False)
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 486 bytes
    - Click Count (0)
  2. docs_src/generate_clients/tutorial001_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=list[Item])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 494 bytes
    - Click Count (0)
  3. .github/workflows/golangci-lint.yml

    name: golangci-lint
    on:
      push:
        branches:
          - main
          - master
      pull_request:
    
    permissions:
      contents: read
      pull-requests: read
    
    jobs:
      golangci:
        name: lint
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: stable
          - name: golangci-lint
            uses: golangci/golangci-lint-action@v7
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Apr 17 07:30:17 GMT 2025
    - 471 bytes
    - Click Count (0)
  4. cmd/iam-etcd-store.go

    }
    
    func (ies *IAMEtcdStore) saveGroupInfo(ctx context.Context, name string, gi GroupInfo) error {
    	return ies.saveIAMConfig(ctx, gi, getGroupInfoPath(name))
    }
    
    func (ies *IAMEtcdStore) deletePolicyDoc(ctx context.Context, name string) error {
    	err := ies.deleteIAMConfig(ctx, getPolicyDocPath(name))
    	if err == errConfigNotFound {
    		err = errNoSuchPolicy
    	}
    	return err
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            private static final long serialVersionUID = 1L;
            private String name;
            private String[] roleNames = new String[0];
            private String[] groupNames = new String[0];
            private String[] permissions = new String[0];
            private boolean editable = false;
    
            public void setName(String name) {
                this.name = name;
            }
    
            @Override
            public String getName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsAccessToken.java

            this.expiredTime = value;
        }
    
        public String getName() {
            checkSpecifiedProperty("name");
            return convertEmptyToNull(name);
        }
    
        public void setName(String value) {
            registerModifiedProperty("name");
            this.name = value;
        }
    
        public String getParameterName() {
            checkSpecifiedProperty("parameterName");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameServicePacketTest.java

            @Override
            int readRDataWireFormat(byte[] src, int srcIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                // Create a dummy Name object for NbtAddress constructor
                Name dummyName = new Name(config, "DUMMY_NAME", 0, null);
                addrEntry[addrIndex] = new NbtAddress(dummyName, 0, false, NbtAddress.B_NODE);
                return 6; // NbtAddress is 6 bytes
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/IllegalPropertyRuntimeException.java

         */
        private final Class<?> targetClass;
    
        /**
         * The name of the property.
         */
        private final String propertyName;
    
        /**
         * Creates a {@link IllegalPropertyRuntimeException}.
         *
         * @param targetClass
         *            Target class
         * @param propertyName
         *            Property name
         * @param cause
         *            The cause of the exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. tests/test_dependency_yield_except_httpexception.py

    
    @app.put("/invalid-user/{user_id}")
    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
        raise HTTPException(status_code=400, detail="Invalid user")
    
    
    @app.put("/user/{user_id}")
    def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)):
        db[user_id] = name
        return {"message": "OK"}
    
    
    @pytest.fixture(autouse=True)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                        }
                    });
                }
                final String name = id.substring(0, id.length() - NDJSON_EXTENTION.length());
                if ("search_log".equals(name)) {
                    return writeNdjsonResponse(id, getSearchLogNdjsonWriteCall());
                }
                if ("user_info".equals(name)) {
                    return writeNdjsonResponse(id, getUserInfoNdjsonWriteCall());
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top