Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 453 for render (0.2 sec)

  1. docs/de/docs/reference/responses.md

                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Feb 19 15:53:39 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. docs/en/docs/reference/responses.md

                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/rendererrs/AbstractDiagnosticsDataClassRenderer.kt

    abstract class AbstractDiagnosticsDataClassRenderer : DiagnosticListRenderer() {
        override fun render(file: File, diagnosticList: DiagnosticList, packageName: String, starImportsToAdd: Set<String>) {
            val hlDiagnosticsList = HLDiagnosticConverter.convert(diagnosticList)
            file.writeToFileUsingSmartPrinterIfFileContentChanged { render(hlDiagnosticsList, packageName) }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Oct 18 18:42:40 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

    import org.jetbrains.kotlin.name.FqName
    import org.jetbrains.kotlin.name.SpecialNames
    import org.jetbrains.kotlin.name.StandardClassIds
    import org.jetbrains.kotlin.renderer.DescriptorRenderer
    import org.jetbrains.kotlin.renderer.render
    import org.jetbrains.kotlin.resolve.calls.inference.CapturedType
    import org.jetbrains.kotlin.resolve.descriptorUtil.annotationClass
    import org.jetbrains.kotlin.types.*
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. istioctl/pkg/util/formatting/formatter.go

    		diag.Info:    "",           // no special color for info messages
    		diag.Warning: "\033[33m",   // yellow
    		diag.Error:   "\033[1;31m", // bold red
    	}
    )
    
    // render turns a Message instance into a string with an option of colored bash output
    func render(m diag.Message, colorize bool) string {
    	return fmt.Sprintf("%s%v%s [%v]%s %s",
    		colorPrefix(m, colorize), m.Type.Level(), colorSuffix(colorize),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

        }
    
        public void addMessage(String message) {
            messages.add(message);
        }
    
        public String toString() {
            return render("");
        }
    
        public String render(String indentation) {
            if (messages.size() == 0) {
                return indentation + "There were no validation errors.";
            }
    
            StringBuilder message = new StringBuilder();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. 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)
  8. fastapi/responses.py

        Read more about it in the
        [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
        """
    
        def render(self, content: Any) -> bytes:
            assert ujson is not None, "ujson must be installed to use UJSONResponse"
            return ujson.dumps(content, ensure_ascii=False).encode("utf-8")
    
    
    class ORJSONResponse(JSONResponse):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

          placeholder: Tell us what you see!
          value:
          render: shell
        validations:
          required: true
      - type: textarea
        id: logs
        attributes:
          label: Relevant log output
          description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jun 28 18:25:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. 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)
Back to top