Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1751 - 1760 of 4,798 for same (0.22 sec)

  1. tests/multi_primary_keys_test.go

    	return reflect.DeepEqual(tagContents, contents)
    }
    
    func TestManyToManyWithMultiPrimaryKeys(t *testing.T) {
    	if name := DB.Dialector.Name(); name == "sqlite" || name == "sqlserver" {
    		t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment")
    	}
    
    	if name := DB.Dialector.Name(); name == "postgres" {
    		stmt := gorm.Statement{DB: DB}
    		stmt.Parse(&Blog{})
    		stmt.Schema.LookUpField("ID").Unique = true
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  2. docs_src/separate_openapi_schemas/tutorial002.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[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",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 524 bytes
    - Viewed (0)
  3. .generated_files

    #     <type> <name>
    #
    # Type can be:
    #    path - an exact path to a single file
    #    file-name - an exact leaf filename, regardless of path
    #    path-prefix - a prefix match on the file path
    #    file-prefix - a prefix match of the leaf filename (no path)
    #    paths-from-repo - read a file from the repo and load file paths
    #
    
    file-prefix	zz_generated.
    
    file-name	types.generated.go
    file-name	generated.pb.go
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

            return repositoryUrl;
        }
    
        public String getName() {
            String name = resource.getName();
    
            if (name == null) {
                name = "";
            } else if (name.startsWith("/")) {
                name = name.substring(1);
            }
    
            return name;
        }
    
        public String getUrl() {
            return getRepositoryUrl() + getName();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. docs_src/path_operation_advanced_configuration/tutorial006.py

            "content": {
                "name": "Maaaagic",
                "price": 42,
                "description": "Just kiddin', no magic here. ✨",
            },
        }
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {
                    "application/json": {
                        "schema": {
                            "required": ["name", "price"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 29 20:01:13 UTC 2021
    - 1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final String myName = getSchedulerTargetName();
    
            final String[] targets = target.split(",");
            for (String name : targets) {
                name = name.trim();
                if (Constants.DEFAULT_JOB_TARGET.equalsIgnoreCase(name) || StringUtil.isNotBlank(myName) && myName.equalsIgnoreCase(name)) {
                    return true;
                }
            }
            return false;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

    /**
     * Trivial master password source using Maven {@link Prompter} service.
     */
    @Singleton
    @Named(ConsolePasswordPrompt.NAME)
    public class ConsolePasswordPrompt implements MasterSource, MasterSourceMeta {
        public static final String NAME = "console-prompt";
    
        private final Prompter prompter;
    
        @Inject
        public ConsolePasswordPrompt(Prompter prompter) {
            this.prompter = prompter;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_bigger_applications/test_main.py

            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200
        assert response.json() == {
            "plumbus": {"name": "Plumbus"},
            "gun": {"name": "Portal Gun"},
        }
    
    
    def test_items_with_no_token_jessica(client: TestClient):
        response = client.get("/items", headers={"X-Token": "fake-super-secret-token"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. src/main/resources/fess_config.properties

    online.help.name.webconfig=webconfig
    online.help.name.searchlist=searchlist
    online.help.name.log=log
    online.help.name.general=general
    online.help.name.role=role
    online.help.name.joblog=joblog
    online.help.name.keymatch=keymatch
    online.help.name.relatedquery=relatedquery
    online.help.name.relatedcontent=relatedcontent
    online.help.name.wizard=wizard
    online.help.name.badword=badword
    online.help.name.pathmap=pathmap
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. docs_src/response_model/tutorial001_py39.py

    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: list[str] = []
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items() -> Any:
        return [
            {"name": "Portal Gun", "price": 42.0},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 556 bytes
    - Viewed (0)
Back to top