Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for Subroute (0.06 seconds)

  1. tests/test_sub_callbacks.py

    
    events_callback_router = APIRouter()
    
    
    @events_callback_router.get("{$callback_url}/events/{$request.body.title}")
    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    @subrouter.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: HttpUrl | None = None):
        """
        Create an invoice.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  2. tests/test_generate_unique_id_function.py

                                    },
                                },
                            },
                        }
                    },
                    "/subrouter": {
                        "post": {
                            "summary": "Post Subrouter",
                            "operationId": "bar_post_subrouter",
                            "requestBody": {
                                "content": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 75K bytes
    - Click Count (0)
Back to Top