ocean-data-factory-sweden / kso

Notebooks to upload/download marine footage, connect to a citizen science project, train machine learning models and publish marine biological observations.
GNU General Public License v3.0
4 stars 12 forks source link

Bump fastapi from 0.73.0 to 0.89.1 #121

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps fastapi from 0.73.0 to 0.89.1.

Release notes

Sourced from fastapi's releases.

0.89.1

Fixes

  • 🐛 Ignore Response classes on return annotation. PR #5855 by @​Kludex. See the new docs in the PR below.

Docs

Translations

0.89.0

Features

  • ✨ Add support for function return type annotations to declare the response_model. Initial PR #1436 by @​uriyyo.

Now you can declare the return type / response_model in the function return type annotation:

from fastapi import FastAPI
from pydantic import BaseModel

app = FastAPI()

class Item(BaseModel): name: str price: float

@​app.get("/items/") async def read_items() -> list[Item]: return [ Item(name="Portal Gun", price=42.0), Item(name="Plumbus", price=32.0), ]

FastAPI will use the return type annotation to perform:

  • Data validation
  • Automatic documentation
    • It could power automatic client generators
  • Data filtering

Before this version it was only supported via the response_model parameter.

... (truncated)

Commits
  • 5905c3f 🔖 Release version 0.89.1
  • 00f3c83 📝 Update release notes
  • e84cb66 📝 Update release notes
  • fb8e908 📝 Update docs and examples for Response Model with Return Type Annotations, a...
  • 6b83525 📝 Update release notes
  • fba7493 🐛 Ignore Response classes on return annotation (#5855)
  • 53973f7 📝 Update release notes
  • 1562592 🌐 Add Turkish translation for docs/tr/docs/tutorial/first_steps.md (#5691)
  • 52a8417 📝 Update release notes
  • 929289b 📝 Add External Link: FastAPI lambda container: serverless simplified (#5784)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Dependabot tried to add @glenn-jocher as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/ocean-data-factory-sweden/kso-object-detection/pulls/121/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the ocean-data-factory-sweden/kso-object-detection repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request
dependabot[bot] commented 1 year ago

The following labels could not be found: dependencies.

dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.