Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for comments (0.22 sec)

  1. .github/actions/notify-translations/app/main.py

            )
            for comment in comments:
                if new_translation_message in comment.body:
                    already_notified_comment = comment
                elif done_translation_message in comment.body:
                    already_done_comment = comment
            logging.info(
                f"Already notified comment: {already_notified_comment}, already done comment: {already_done_comment}"
            )
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  2. .github/actions/people/app/main.py

            discussion_commentors: dict[str, datetime] = {}
            for comment in discussion.comments.nodes:
                if comment.author:
                    authors[comment.author.login] = comment.author
                    if comment.author.login != discussion_author_name:
                        author_time = discussion_commentors.get(
                            comment.author.login, comment.createdAt
                        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. docs/en/docs/contributing.md

    </div>
    
    #### Translation specific tips and guidelines
    
    * Translate only the Markdown documents (`.md`). Do not translate the code examples at `./docs_src`.
    
    * In code blocks within the Markdown document, translate comments (`# a comment`), but leave the rest unchanged.
    
    * Do not change anything enclosed in "``" (inline code).
    
    * In lines starting with `===` or `!!!`, translate only the ` "... Text ..."` part. Leave the rest unchanged.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. .github/actions/comment-docs-preview-in-pr/app/main.py

        logging.info(f"Using comments URL: {url}")
        response = httpx.post(
            url,
            headers=github_headers,
            json={
                "body": f"đź“ť Docs preview for commit {use_pr.head.sha} at: {settings.input_deploy_url}"
            },
        )
        if not (200 <= response.status_code <= 300):
            logging.error(f"Error posting comment: {response.text}")
            sys.exit(1)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:02:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    * And the file `app/internal/admin.py` is another submodule: `app.internal.admin`.
    
    <img src="/img/tutorial/bigger-applications/package.svg">
    
    The same file structure with comments:
    
    ```
    .
    ├── app                  # "app" is a Python package
    │   ├── __init__.py      # this file makes "app" a "Python package"
    │   ├── main.py          # "main" module, e.g. import app.main
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/query-params-str-validations.md

    * `deprecated`
    
    Validateurs spécifiques aux chaînes de caractères :
    
    * `min_length`
    * `max_length`
    * `regex`
    
    Parmi ces exemples, vous avez pu voir comment déclarer des validateurs pour les chaînes de caractères.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  7. docs/en/docs/help-fastapi.md

    And if there's any other style or consistency need, I'll ask directly for that, or I'll add commits on top with the needed changes.
    
    ### Check the code
    
    * Check and read the code, see if it makes sense, **run it locally** and see if it actually solves the problem.
    
    * Then **comment** saying that you did that, that's how I will know you really checked it.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial003_an_py310.py

            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 655 bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial002.py

            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: CommonQueryParams = Depends(CommonQueryParams)):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 656 bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial003_an.py

            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 697 bytes
    - Viewed (0)
Back to top