Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 4,015 for name (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cni/pkg/nodeagent/cni-watcher.go

    	if err != nil {
    		return err
    	}
    
    	return nil
    }
    
    func (s *CniPluginServer) getPodWithRetry(log *istiolog.Scope, name, namespace string) (*corev1.Pod, error) {
    	log.Debugf("Checking if pod %s/%s is enabled for ambient", namespace, name)
    	const maxStaleRetries = 10
    	const msInterval = 10
    	retries := 0
    	var ambientPod *corev1.Pod
    	var err error
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/c/eager/c_api_experimental.cc

      return cell->cell.value();
    }
    
    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
                                                      TF_Status* status,
                                                      const char* description) {
      auto* result = new TFE_MonitoringCounter0({name, description});
      tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus());
      if (!result->counter->GetStatus().ok()) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    	var lr objectlock.Retention
    	var rcfg *replication.Config
    	if bi.Name != minioMetaBucket {
    		vc, err = globalBucketVersioningSys.Get(bi.Name)
    		if err != nil {
    			return err
    		}
    
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bi.Name)
    		if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bi.Name}) {
    			return err
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/EnumConstantMetaData.java

        private final String name;
        private final ClassMetaData ownerClass;
    
        public EnumConstantMetaData(String name, ClassMetaData ownerClass) {
            this.name = name;
            this.ownerClass = ownerClass;
        }
    
        public String getName() {
            return name;
        }
    
        public ClassMetaData getOwnerClass() {
            return ownerClass;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    		}
    
    		var existingFolders, newFolders []cachedFolder
    		var foundObjects bool
    		err := readDirFn(pathJoin(f.root, folder.name), func(entName string, typ os.FileMode) error {
    			// Parse
    			entName = pathClean(pathJoin(folder.name, entName))
    			if entName == "" || entName == folder.name {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no entity (%s,%s)\n", f.root, entName)
    				}
    				return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

                doc
            }
    
            then:
            doc.classMethods.size() == 6
    
            doc.classMethods[0].name == 'a'
            doc.classMethods[1].name == 'b'
            doc.classMethods[2].name == 'b'
            doc.classMethods[3].name == 'c'
            doc.classMethods[4].name == 'd'
            doc.classMethods[5].name == 'e'
    
            _ * classMetaData.declaredMethods >> ([methodA, methodB, methodBOverload] as Set)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
Back to top