Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for dataAttr (0.08 seconds)

  1. fastapi/sse.py

        if comment is not None:
            for line in comment.splitlines():
                lines.append(f": {line}")
    
        if event is not None:
            lines.append(f"event: {event}")
    
        if data_str is not None:
            for line in data_str.splitlines():
                lines.append(f"data: {line}")
    
        if id is not None:
            lines.append(f"id: {id}")
    
        if retry is not None:
            lines.append(f"retry: {retry}")
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  2. fastapi/routing.py

                                data_str: str | None = item.raw_data
                            elif item.data is not None:
                                if hasattr(item.data, "model_dump_json"):
                                    data_str = item.data.model_dump_json()
                                else:
                                    data_str = json.dumps(jsonable_encoder(item.data))
                            else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top