Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 594 for ref (0.17 sec)

  1. tests/test_response_model_include_exclude.py

        bar: str
    
    
    class Model2(BaseModel):
        ref: Model1
        baz: str
    
    
    class Model3(BaseModel):
        name: str
        age: int
        ref2: Model2
    
    
    app = FastAPI()
    
    
    @app.get(
        "/simple_include",
        response_model=Model2,
        response_model_include={"baz": ..., "ref": {"foo"}},
    )
    def simple_include():
        return Model2(
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Viewed (0)
  2. callbacks/preload.go

    		)
    
    		for _, ref := range rel.References {
    			if ref.OwnPrimaryKey {
    				joinForeignKeys = append(joinForeignKeys, ref.ForeignKey.DBName)
    				joinForeignFields = append(joinForeignFields, ref.ForeignKey)
    				foreignFields = append(foreignFields, ref.PrimaryKey)
    			} else if ref.PrimaryValue != "" {
    				tx = tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    			} else {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    					},
    
    					// func valueIndex(v ref, i int) ref
    					"syscall/js.valueIndex": (sp) => {
    						sp >>>= 0;
    						storeValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));
    					},
    
    					// valueSetIndex(v ref, i int, x ref)
    					"syscall/js.valueSetIndex": (sp) => {
    						sp >>>= 0;
    						Reflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));
    					},
    
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. src/test/java/jcifs/tests/DfsTest.java

            DfsReferralData ref = dfs.resolve(context, target, dfsShare, path);
    
            if ( ref != null ) {
                do {
                    log.debug("ref " + ref);
                }
                while ( ( ref.next() != ref ) && ( ref = ref.next() ) != null );
            }
            else {
                log.debug("No ref");
            }
    
            return ref;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  5. association.go

    				}
    			}
    
    			for _, ref := range rel.References {
    				if ref.OwnPrimaryKey {
    					primaryFields = append(primaryFields, ref.PrimaryKey)
    					foreignKeys = append(foreignKeys, ref.ForeignKey.DBName)
    					updateMap[ref.ForeignKey.DBName] = nil
    				} else if ref.PrimaryValue != "" {
    					tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_updates/test_tutorial001.py

                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Item"}
                                    }
                                },
                            },
                            "422": {
                                "description": "Validation Error",
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Item"}
                                    }
                                },
                            },
                            "422": {
                                "description": "Validation Error",
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/main/config/openapi/openapi-user.yaml

                              type: string
                              example: "text/html"
            '400':
              $ref: '#/components/responses/BadRequest'
            '401':
              $ref: '#/components/responses/Unauthorized'
            '404':
              $ref: '#/components/responses/NotFound'
            '500':
              $ref: '#/components/responses/InternalServerError'
    
      /documents/all:
        get:
          tags:
            - search
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jun 19 13:30:00 GMT 2023
    - 21.6K bytes
    - Viewed (1)
  9. callbacks/associations.go

    									rv = rv.Addr()
    								}
    
    								for _, ref := range rel.References {
    									if ref.OwnPrimaryKey {
    										fv, _ := ref.PrimaryKey.ValueOf(db.Statement.Context, obj)
    										db.AddError(ref.ForeignKey.Set(db.Statement.Context, rv, fv))
    									} else if ref.PrimaryValue != "" {
    										db.AddError(ref.ForeignKey.Set(db.Statement.Context, rv, ref.PrimaryValue))
    									}
    								}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. tests/test_generate_unique_id_function.py

                        "required": ["item1", "item2"],
                        "type": "object",
                        "properties": {
                            "item1": {"$ref": "#/components/schemas/Item"},
                            "item2": {"$ref": "#/components/schemas/Item"},
                        },
                    },
                    "Body_foo_post_router": {
                        "title": "Body_foo_post_router",
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top