Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for embed (0.15 sec)

  1. cni/pkg/nodeagent/fakes_test.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"embed"
    	"io/fs"
    	"sync/atomic"
    	"syscall"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/cni/pkg/iptables"
    )
    
    //go:embed testdata/cgroupns
    var fakeProc embed.FS
    
    type fakeZtunnel struct {
    	deletedPods atomic.Int32
    	addedPods   atomic.Int32
    	addError    error
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-multiple-params.md

    Mas se você quiser que ele espere por um JSON com uma chave `item` e dentro dele os conteúdos do modelo, como ocorre ao declarar vários parâmetros de corpo, você pode usar o parâmetro especial de `Body` chamado `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    como em:
    
    === "Python 3.10+"
    
        ```Python hl_lines="15"
        {!> ../../../docs_src/body_multiple_params/tutorial005_py310.py!}
        ```
    
    === "Python 3.8+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. fastapi/params.py

            deprecated: Union[deprecated, str, bool, None] = None,
            include_in_schema: bool = True,
            json_schema_extra: Union[Dict[str, Any], None] = None,
            **extra: Any,
        ):
            self.embed = embed
            self.media_type = media_type
            if example is not _Unset:
                warnings.warn(
                    "`example` has been deprecated, please use `examples` instead",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  4. docs/ru/docs/tutorial/body-multiple-params.md

    Но если вы хотите чтобы он ожидал JSON с ключом `item` с содержимым модели внутри, также как это происходит при объявлении дополнительных body-параметров, вы можете использовать специальный параметр `embed` у типа `Body`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    так же, как в этом примере:
    
    === "Python 3.10+"
    
        ```Python hl_lines="17"
        {!> ../../../docs_src/body_multiple_params/tutorial005_an_py310.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

                The parameter is available only for compatibility.
                """
            ),
        ] = _Unset,
        embed: Annotated[
            bool,
            Doc(
                """
                When `embed` is `True`, the parameter will be expected in a JSON body as a
                key instead of being the JSON body itself.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. pom.xml

    		</dependency>
    		<dependency>
    			<groupId>org.apache.tomcat.embed</groupId>
    			<artifactId>tomcat-embed-core</artifactId>
    			<version>${tomcat.version}</version>
    			<!-- Disable scope at development on IDEA -->
    			<scope>provided</scope>
    		</dependency>
    		<dependency><!-- for jsp -->
    			<groupId>org.apache.tomcat.embed</groupId>
    			<artifactId>tomcat-embed-jasper</artifactId>
    			<version>${tomcat.version}</version>
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Apr 22 12:06:58 GMT 2024
    - 48.7K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

        response even if the server rejects your request body.
     *  Fix: Use literal IP addresses directly rather than passing them to `DnsOverHttps`.
     *  Fix: Embed Proguard rules to prevent warnings from tools like DexGuard and R8. These warnings
        were triggered by OkHttp’s feature detection for TLS packages like `org.conscrypt`,
        `org.bouncycastle`, and `org.openjsse`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. doc/go_spec.html

    	f Float                 // illegal
    }
    </pre>
    
    <p>
    An interface type <code>T</code> may not embed a type element
    that is, contains, or embeds <code>T</code>, directly or indirectly.
    </p>
    
    <pre>
    // illegal: Bad may not embed itself
    type Bad interface {
    	Bad
    }
    
    // illegal: Bad1 may not embed itself using Bad2
    type Bad1 interface {
    	Bad2
    }
    type Bad2 interface {
    	Bad1
    }
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    }
    </pre>
    
    <p>
    An interface type <code>T</code> may not embed itself
    or any interface type that embeds <code>T</code>, recursively.
    </p>
    
    <pre>
    // illegal: Bad cannot embed itself
    type Bad interface {
    	Bad
    }
    
    // illegal: Bad1 cannot embed itself using Bad2
    type Bad1 interface {
    	Bad2
    }
    type Bad2 interface {
    	Bad1
    }
    </pre>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.30.md

    - Bump cAdvisor to v0.49.0 ([#123599](https://github.com/kubernetes/kubernetes/pull/123599), [@bobbypage](https://github.com/bobbypage)) [SIG Node]
    - Embed Node information into Pod-bound service account tokens as additional metadata
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
Back to top