Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 161 for stsr (0.04 sec)

  1. docs/ru/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Объявляем параметр user_id с типом `str`
    # и получаем поддержку редактора внутри функции
    def main(user_id: str):
        return user_id
    
    
    # Модель Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Это можно использовать так:
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inputs/merge-probers.yaml.43.values.gen.yaml

          "tracer": "none"
        },
        "proxy_init": {
          "image": "proxyv2"
        },
        "remotePilotAddress": "",
        "sds": {
          "token": {
            "aud": "istio-ca"
          }
        },
        "sts": {
          "servicePort": 0
        },
        "tag": "latest",
        "variant": ""
      },
      "istio_cni": {
        "chained": true,
        "enabled": false,
        "provider": "default"
      },
      "pilot": {
        "cni": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. pkg/kube/inject/testdata/inputs/hello.yaml.1.values.gen.yaml

          "tracer": "none"
        },
        "proxy_init": {
          "image": "proxyv2"
        },
        "remotePilotAddress": "",
        "sds": {
          "token": {
            "aud": "istio-ca"
          }
        },
        "sts": {
          "servicePort": 0
        },
        "tag": "latest",
        "variant": ""
      },
      "istio_cni": {
        "chained": true,
        "enabled": false,
        "provider": "default"
      },
      "pilot": {
        "cni": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inputs/hello.yaml.10.values.gen.yaml

          "tracer": "none"
        },
        "proxy_init": {
          "image": "proxyv2"
        },
        "remotePilotAddress": "",
        "sds": {
          "token": {
            "aud": "istio-ca"
          }
        },
        "sts": {
          "servicePort": 0
        },
        "tag": "latest",
        "variant": ""
      },
      "istio_cni": {
        "chained": true,
        "enabled": false,
        "provider": "default"
      },
      "pilot": {
        "cni": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc

                                    const StringRef tensor_name) {
      AssetFileDef asset_file_def{};
      asset_file_def.set_filename(MaybeStripAssetDirectoryPrefix(filename).str());
    
      tensorflow::TensorInfo tensor_info{};
      tensor_info.set_name(tensor_name.str());
      *asset_file_def.mutable_tensor_info() = tensor_info;
    
      return asset_file_def;
    }
    
    // Returns a list of "tf.entry_function" attribute's "inputs" comma-split
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. docs/az/docs/index.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    	}
    
    	patch := &unstructured.Unstructured{}
    	if obj, ok := a.patch.(map[string]interface{}); ok {
    		patch.Object = obj
    	} else if str, ok := a.patch.(string); ok {
    		str = FixTabsOrDie(str)
    		if err := utilyaml.NewYAMLOrJSONDecoder(strings.NewReader(str), len(str)).Decode(&patch.Object); err != nil {
    			return err
    		}
    	} else {
    		return fmt.Errorf("invalid patch type: %T", a.patch)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  8. src/cmd/cover/cover.go

    		}
    		// Determine proper function or method name.
    		if r := n.Recv; r != nil && len(r.List) == 1 {
    			t := r.List[0].Type
    			star := ""
    			if p, _ := t.(*ast.StarExpr); p != nil {
    				t = p.X
    				star = "*"
    			}
    			if p, _ := t.(*ast.Ident); p != nil {
    				fname = star + p.Name + "." + fname
    			}
    		}
    		walkBody := true
    		if *pkgcfg != "" {
    			f.preFunc(n, fname)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. pkg/proxy/util/nodeport_addresses_test.go

    }
    
    func checkNodeIPs(expected sets.Set[string], actual []net.IP) error {
    	notFound := expected.Clone()
    	extra := sets.New[string]()
    	for _, ip := range actual {
    		str := ip.String()
    		if notFound.Has(str) {
    			notFound.Delete(str)
    		} else {
    			extra.Insert(str)
    		}
    	}
    	if len(notFound) != 0 || len(extra) != 0 {
    		return fmt.Errorf("not found: %v, extra: %v", notFound.UnsortedList(), extra.UnsortedList())
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

      }
    
      void runOnOperation() override;
    };
    
    static void IncrementCounterFor(tensorflow::monitoring::Counter<1>* counter,
                                    Operation* op) {
      counter->GetCell(op->getName().getStringRef().str())->IncrementBy(1);
    }
    
    bool HasBounds(RankedTensorType type) {
      auto encoding = mlir::dyn_cast_or_null<mlir::mhlo::TypeExtensionsAttr>(
          type.getEncoding());
      return (encoding && !encoding.getBounds().empty());
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top