Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for xstr (0.09 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    		// placeholders, since the fake API server does not actually pull images and create pods.
    		hub: "fake hub",
    		tag: "fake tag",
    	}
    
    	_, mstr, err := renderOperatorManifest(nil, ocArgs)
    	if err != nil {
    		return err
    	}
    	if err := applyWithReconciler(reconciler, mstr); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // applyWithReconciler applies the given manifest string using the given reconciler.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/query-params-str-validations.md

        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    🔢 🔢 `q` 🆎 `Union[str, None]` (⚖️ `str | None` 🐍 3️⃣.1️⃣0️⃣), 👈 ⛓ 👈 ⚫️ 🆎 `str` ✋️ 💪 `None`, & 👐, 🔢 💲 `None`, FastAPI 🔜 💭 ⚫️ 🚫 ✔.
    
    !!! note
        FastAPI 🔜 💭 👈 💲 `q` 🚫 ✔ ↩️ 🔢 💲 `= None`.
    
         `Union` `Union[str, None]` 🔜 ✔ 👆 👨‍🎨 🤝 👆 👍 🐕‍🦺 & 🔍 ❌.
    
    ## 🌖 🔬
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/query-params-str-validations.md

    ```
    
    O parâmetro de consulta `q` é do tipo `Union[str, None]`, o que significa que é do tipo `str` mas que também pode ser `None`, e de fato, o valor padrão é `None`, então o FastAPI saberá que não é obrigatório.
    
    !!! note "Observação"
        O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/query-params-str-validations.md

    === "Python 3.10+"
    
        ```Python
        q: str | None = None
        ```
    
    === "Python 3.8+"
    
        ```Python
        q: Union[str, None] = None
        ```
    
    Вот что мы получим, если обернём это в `Annotated`:
    
    === "Python 3.10+"
    
        ```Python
        q: Annotated[str | None] = None
        ```
    
    === "Python 3.8+"
    
        ```Python
        q: Annotated[Union[str, None]] = None
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 38K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

        ```
    
    Der Query-Parameter `q` hat den Typ `Union[str, None]` (oder `str | None` in Python 3.10), was bedeutet, er ist entweder ein `str` oder `None`. Der Defaultwert ist `None`, also weiß FastAPI, der Parameter ist nicht erforderlich.
    
    !!! note "Hinweis"
        FastAPI weiß nur dank des definierten Defaultwertes `=None`, dass der Wert von `q` nicht erforderlich ist
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:59 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

        TearDownTestCaseFunc tear_down_tc,
        TestFactoryBase* factory);
    
    // If *pstr starts with the given prefix, modifies *pstr to be right
    // past the prefix and returns true; otherwise leaves *pstr unchanged
    // and returns false.  None of pstr, *pstr, and prefix can be NULL.
    GTEST_API_ bool SkipPrefix(const char* prefix, const char** pstr);
    
    #if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  7. src/testing/fuzz.go

    	if *isFuzzWorker || f.parent == nil {
    		return
    	}
    	dstr := fmtDuration(f.duration)
    	format := "--- %s: %s (%s)\n"
    	if f.Failed() {
    		f.flushToParent(f.name, format, "FAIL", f.name, dstr)
    	} else if f.chatty != nil {
    		if f.Skipped() {
    			f.flushToParent(f.name, format, "SKIP", f.name, dstr)
    		} else {
    			f.flushToParent(f.name, format, "PASS", f.name, dstr)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/serialized-mlir-module-str-attr.mlir

    // RUN: tf-mlir-translate -mlir-tf-str-attr-to-mlir %s -mlir-print-debuginfo -mlir-print-local-scope | FileCheck %s
    
    "\0A\0Amodule attributes {tf.versions = {producer = 888 : i32}} {\0A func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> {\0A %0 = \22tf.Identity\22(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown)\0A return %0 : tensor<?xi32> loc(unknown)\0A } loc(unknown)\0A} loc(unknown)"
    
    // Test simple serialized computation consisting of a function named `main`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 09 13:27:00 UTC 2022
    - 998 bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

        TearDownTestCaseFunc tear_down_tc,
        TestFactoryBase* factory);
    
    // If *pstr starts with the given prefix, modifies *pstr to be right
    // past the prefix and returns true; otherwise leaves *pstr unchanged
    // and returns false.  None of pstr, *pstr, and prefix can be NULL.
    GTEST_API_ bool SkipPrefix(const char* prefix, const char** pstr);
    
    #if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. operator/pkg/object/objects_test.go

    			if res != tt.want {
    				t.Errorf("got %v, want: %v", res, tt.want)
    			}
    		})
    	}
    }
    
    func TestK8sObject_ResolveK8sConflict(t *testing.T) {
    	getK8sObject := func(ystr string) *K8sObject {
    		o, err := ParseYAMLToK8sObject([]byte(ystr))
    		if err != nil {
    			panic(err)
    		}
    		// Ensure that json data is in sync.
    		// Since the object was created using yaml, json is empty.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top