Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 350 for sub (0.08 seconds)

  1. docs_src/sub_applications/tutorial001_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main():
        return {"message": "Hello World from main app"}
    
    
    subapi = FastAPI()
    
    
    @subapi.get("/sub")
    def read_sub():
        return {"message": "Hello World from sub API"}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 274 bytes
    - Click Count (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithFullyQualifiedNames.groovy

    package org.gradle.test
    
    class GroovyClassWithFullyQualifiedNames extends org.gradle.test.sub.SubGroovyClass implements org.gradle.test.sub.SubJavaInterface, java.lang.Runnable {
        org.gradle.test.sub.SubJavaInterface getProp() {
            this
        }
    
        void run() {
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 277 bytes
    - Click Count (0)
  3. tests/test_openapi_separate_input_output_schemas.py

            == response2.json()
            == {"name": "Plumbus", "description": None, "sub": None}
        )
    
    
    def test_create_item_with_sub():
        client = get_app_client()
        client_no = get_app_client(separate_input_output_schemas=False)
        data = {
            "name": "Plumbus",
            "sub": {"subname": "SubPlumbus", "sub_description": "Sub WTF"},
        }
        response = client.post("/items/", json=data)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/testdata/arm.s

    	SUB	R0->28, R1           // 401e41e0
    	SUB	R0@>28, R1           // 601e41e0
    	SUB.S	R0<<28, R1           // 001e51e0
    	SUB.S	R0>>28, R1           // 201e51e0
    	SUB.S	R0->28, R1           // 401e51e0
    	SUB.S	R0@>28, R1           // 601e51e0
    	SUB	R0<<R1, R2, R3       // 103142e0
    	SUB	R0>>R1, R2, R3       // 303142e0
    	SUB	R0->R1, R2, R3       // 503142e0
    	SUB	R0@>R1, R2, R3       // 703142e0
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Click Count (0)
  5. tests/test_validation_error_context.py

        captured_exception.exception = None
        try:
            client.get("/sub/items/")
        except Exception:
            pass
    
        assert captured_exception.exception is not None
        error_str = str(captured_exception.exception)
        assert "get_sub_item" in error_str
        assert "/sub/items/" in error_str
    
    
    def test_subapp_websocket_validation_error_includes_endpoint_context():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 06 12:21:57 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                // Dokka Kotlin DSL reference goes into kotlin-dsl/
                task.from(extension.getKotlinDslReference().getRenderedDocumentation(), sub -> sub.into("kotlin-dsl"));
    
                // User manual goes into userguide/ (for historical reasons)
                task.from(extension.getUserManual().getRenderedDocumentation(), sub -> sub.into("userguide"));
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. internal/jwt/parser.go

    					return errors.New("nbf: Expected number")
    				}
    				c.NotBefore, err = jsonparser.ParseInt(value)
    				return err
    			}
    		case 's':
    			if string(key) == "sub" {
    				if dataType != jsonparser.String {
    					return errors.New("sub: Expected string")
    				}
    				c.Subject, err = jsonparser.ParseString(value)
    				return err
    			}
    		}
    		// Ignore unknown fields
    		return nil
    	})
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. tests/test_skip_defaults.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class SubModel(BaseModel):
        a: Optional[str] = "foo"
    
    
    class Model(BaseModel):
        x: Optional[int] = None
        sub: SubModel
    
    
    class ModelSubclass(Model):
        y: int
        z: int = 0
        w: Optional[int] = None
    
    
    class ModelDefaults(BaseModel):
        w: Optional[str] = None
        x: Optional[str] = None
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/wsgi.md

    # Incluyendo WSGI - Flask, Django, otros { #including-wsgi-flask-django-others }
    
    Puedes montar aplicaciones WSGI como viste con [Sub Aplicaciones - Mounts](sub-applications.md){.internal-link target=_blank}, [Detrás de un Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    Para eso, puedes usar `WSGIMiddleware` y usarlo para envolver tu aplicación WSGI, por ejemplo, Flask, Django, etc.
    
    ## Usando `WSGIMiddleware` { #using-wsgimiddleware }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_sub_applications/test_tutorial001.py

        "paths": {
            "/sub": {
                "get": {
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {"application/json": {"schema": {}}},
                        }
                    },
                    "summary": "Read Sub",
                    "operationId": "read_sub_sub_get",
                }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top