Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for url (0.14 sec)

  1. scripts/docs.py

    
    index_sponsors_template = """
    {% if sponsors %}
    {% for sponsor in sponsors.gold -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
    {% endfor -%}
    {%- for sponsor in sponsors.silver -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
    {% endfor %}
    {% endif %}
    """
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  2. fastapi/openapi/docs.py

        <link rel="shortcut icon" href="{swagger_favicon_url}">
        <title>{title}</title>
        </head>
        <body>
        <div id="swagger-ui">
        </div>
        <script src="{swagger_js_url}"></script>
        <!-- `SwaggerUIBundle` is now available on the page -->
        <script>
        const ui = SwaggerUIBundle({{
            url: '{openapi_url}',
        """
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. tests/test_sub_callbacks.py

    
    @invoices_callback_router.post(
        "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived
    )
    def invoice_notification(body: InvoiceEvent):
        pass  # pragma: nocover
    
    
    class Event(BaseModel):
        name: str
        total: float
    
    
    events_callback_router = APIRouter()
    
    
    @events_callback_router.get("{$callback_url}/events/{$request.body.title}")
    def event_callback(event: Event):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

    from fastapi.logger import logger
    from fastapi.security.base import SecurityBase
    from fastapi.security.oauth2 import OAuth2, SecurityScopes
    from fastapi.security.open_id_connect_url import OpenIdConnect
    from fastapi.utils import create_response_field, get_path_param_names
    from pydantic.fields import FieldInfo
    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. .github/actions/people/app/main.py

              number
              author {
                login
                avatarUrl
                url
              }
              title
              createdAt
              comments(first: 100) {
                nodes {
                  createdAt
                  author {
                    login
                    avatarUrl
                    url
                  }
                  isAnswer
                  replies(first: 10) {
                    nodes {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. .github/actions/notify-translations/app/main.py

            edges {
              cursor
              node {
                id
                url
                body
              }
            }
          }
        }
      }
    }
    """
    
    add_comment_mutation = """
    mutation Q($discussion_id: ID!, $body: String!) {
      addDiscussionComment(input: {discussionId: $discussion_id, body: $body}) {
        comment {
          id
          url
          body
        }
      }
    }
    """
    
    update_comment_mutation = """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  7. ci/official/utilities/extract_resultstore_links.py

        # If there's a failure message, it will be found in-between these two.
    
        if not current_url:
          url_lines['start'] = i
        elif current_url == url:
          url_lines['end'] = i
        else:
          result_store_links[current_url]['next_url'] = i
          url_lines['start'] = i
        current_url = url
    
      previous_end_line = None
      for url, lines in result_store_links.items():
        lines['status'] = InvokeStatus.passed  # default to passed
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. fastapi/openapi/models.py

            class Config:
                extra = "allow"
    
    
    class Contact(BaseModelWithConfig):
        name: Optional[str] = None
        url: Optional[AnyUrl] = None
        email: Optional[EmailStr] = None
    
    
    class License(BaseModelWithConfig):
        name: str
        identifier: Optional[str] = None
        url: Optional[AnyUrl] = None
    
    
    class Info(BaseModelWithConfig):
        title: str
        summary: Optional[str] = None
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. fastapi/_compat.py

        from pydantic.json_schema import JsonSchemaValue as JsonSchemaValue
        from pydantic_core import CoreSchema as CoreSchema
        from pydantic_core import PydanticUndefined, PydanticUndefinedType
        from pydantic_core import Url as Url
    
        try:
            from pydantic_core.core_schema import (
                with_info_plain_validator_function as with_info_plain_validator_function,
            )
        except ImportError:  # pragma: no cover
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. fastapi/encoders.py

    from pydantic.color import Color
    from pydantic.networks import AnyUrl, NameEmail
    from pydantic.types import SecretBytes, SecretStr
    from typing_extensions import Annotated, Doc
    
    from ._compat import PYDANTIC_V2, UndefinedType, Url, _model_dump
    
    
    # Taken from Pydantic v1 as is
    def isoformat(o: Union[datetime.date, datetime.time]) -> str:
        return o.isoformat()
    
    
    # Taken from Pydantic v1 as is
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top