Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for onrender (0.16 sec)

  1. docs/en/docs/advanced/templates.md

    * Import `Jinja2Templates`.
    * Create a `templates` object that you can re-use later.
    * Declare a `Request` parameter in the *path operation* that will return a template.
    * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template.
    
    ```Python hl_lines="4  11  15-18"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 22:25:37 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/en/docs/reference/templating.md

    # Templating - `Jinja2Templates`
    
    You can use the `Jinja2Templates` class to render Jinja templates.
    
    Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/).
    
    You can import it directly from `fastapi.templating`:
    
    ```python
    from fastapi.templating import Jinja2Templates
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 365 bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/base/KtFe10Type.kt

            get() = analysisContext.token
    }
    
    internal fun KotlinType.asStringForDebugging(analysisContext: Fe10AnalysisContext): String {
        val renderer = KtFe10DebugTypeRenderer()
        return prettyPrint { renderer.render(analysisContext, this@asStringForDebugging, this@prettyPrint) }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/security/first-steps.md

    Vamos usar as ferramentas fornecidas pela **FastAPI** para lidar com segurança.
    
    ## Como Parece
    
    Vamos primeiro usar o código e ver como funciona, e depois voltaremos para entender o que está acontecendo.
    
    ## Crie um `main.py`
    Copie o exemplo em um arquivo `main.py`:
    
    ```Python
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    ## Execute-o
    
    !!! info "informação"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                task.outputOptions(options -> options.setBackends(singletonList("html5")));
                // TODO: This breaks the provider
                task.setOutputDir(extension.getUserManual().getStagingRoot().dir("render-single-html").get().getAsFile());
            });
    
            TaskProvider<AsciidoctorTask> userguideSinglePagePdf = tasks.register("userguideSinglePagePdf", AsciidoctorTask.class, task -> {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. docs/es/docs/python-types.md

    Todo **FastAPI** está basado en estos type hints, lo que le da muchas ventajas y beneficios.
    
    Pero, así nunca uses **FastAPI** te beneficiarás de aprender un poco sobre los type hints.
    
    !!! note "Nota"
        Si eres un experto en Python y ya lo sabes todo sobre los type hints, salta al siguiente capítulo.
    
    ## Motivación
    
    Comencemos con un ejemplo simple:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate.go

    	istioInjectionWebhookSuffix = "sidecar-injector.istio.io"
    
    	vwhBaseTemplateName = "istiod-default-validator"
    
    	operatorNamespace = "operator.istio.io"
    )
    
    // tagWebhookConfig holds config needed to render a tag webhook.
    type tagWebhookConfig struct {
    	Tag            string
    	Revision       string
    	URL            string
    	Path           string
    	CABundle       string
    	IstioNamespace string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.lastaflute.web.response.render.RenderData;
    
    public class RenderDataUtilTest extends UnitFessTestCase {
    
        public void test_register() {
            RenderData data = new RenderData();
    
            RenderDataUtil.register(data, "key1", null);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. docs/pt/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Apenas Python moderno
    
    Tudo é baseado no padrão das declarações de **tipos do Python 3.8** (graças ao Pydantic). Nenhuma sintaxe nova para aprender. Apenas o padrão moderno do Python.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

    import java.util.Collection;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.dbflute.Entity;
    import org.lastaflute.web.response.render.RenderData;
    
    public class RenderDataUtil {
    
        public static void register(final RenderData data, final String key, final Object value) {
            if (value == null) {
                return;
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top