Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastapi docs, add to ci #753

Merged
merged 12 commits into from
Feb 3, 2022
Merged

fastapi docs, add to ci #753

merged 12 commits into from
Feb 3, 2022

Conversation

cosmicBboy
Copy link
Collaborator

add fastapi integration to docs, add fastapi to ci

@codecov
Copy link

codecov bot commented Feb 3, 2022

Codecov Report

Merging #753 (86fc32f) into dev (01c7600) will increase coverage by 0.20%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #753      +/-   ##
==========================================
+ Coverage   97.51%   97.71%   +0.20%     
==========================================
  Files          45       45              
  Lines        3982     3982              
==========================================
+ Hits         3883     3891       +8     
+ Misses         99       91       -8     
Impacted Files Coverage Δ
pandera/model_components.py 95.41% <ø> (ø)
pandera/typing/formats.py 100.00% <ø> (ø)
pandera/typing/config.py 100.00% <100.00%> (ø)
pandera/typing/pandas.py 94.20% <100.00%> (ø)
pandera/typing/fastapi.py 82.75% <0.00%> (+27.58%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01c7600...86fc32f. Read the comment docs.

@cosmicBboy cosmicBboy merged commit c7ca562 into dev Feb 3, 2022
@cosmicBboy cosmicBboy deleted the fastapi-docs branch February 3, 2022 18:01
cosmicBboy added a commit that referenced this pull request Feb 8, 2022
* Geopandas (#732)

* Add support for geopandas GeometryDtype (#698)

* Add geopandas support

* small tweak

* linting

* requirements

* fixes

* import variable

* fin

* too many ancestors

* ok actually please be done

* Update geopandas.py

* Update geopandas.py

Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>

* geopandas docs (#711)

* geopandas docs

* links

* geopandas unit tests, more docs (#731)

* ci doesn't install geopandas on windows

* update strategies tests

* update strategies tests

* update tests

* update docs

* pin sphinx-autodoc-typehints=1.14.1

error in importing Literal in python 3.7

* exclude check docs from windows os build

Co-authored-by: Roshan A <roshan.agrawal95@gmail.com>

* typed descriptors and setup.py only includes pandera (#739)

* typed descriptors and setup.py only includes pandera

* black

* Update common.py

Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>

* Bugfix/734 (#735)

* fix error-reporting bug for pandas==1.1.5

* add tests, add pandas 1.1.5 to CI

* fix ci conditional on modin

* simplify error formatting logic

* Fastapi initial integration (#741)

* fastapi support

* wip

* [wip] add pre/post_format

* implement pre/post-format semantics on check_types

* rename from/to format config and methods

* pa.check_types uses pydantic.validate_arguments

* update tests

* add check_types(use_pydantic:bool) flag

* rename arg to with_pydantic

* add tests for format conversion

* add happy path fastapi tests

* fix Literal import

* fix deps

* remove prototyping files

* fix lint

* fix typing.fastapi module imports

* ignore mypy errors

* fix set_index with MultiIndex (#751)

* strategies: correctly handle StringArray null values (#748)

* strategies: correctly handle StringArray null values

* handle pandas 1.1.5 and 1.4.0 errors

* Add Python 3.10 to CI matrix (#724)

* Add Python 3.10 to CI

* Fix CI

* Exclude modin tests on Python 3.10

* Exclude ray from Python 3.10 build

* Exclude modin-ray from Python 3.10 build

* Fix environment.yml version of ray

* exclude ray from base deps installation

* Update .github/workflows/ci-tests.yml

* Update .github/workflows/ci-tests.yml

* fix ci and setup.py

* update deps

* update deps, nox

* update ci, noxfile

* update ci

* simplify nox linters

* exclude geopandas in py310

* update nox

* update black version

* update reqs

* update readthedocs py version

* dont install koalas for py310

* update readthedocs py version

* update deps

* test readthedocs

* add back ci tests

* windows

* update pandas version in nox

* remove koalas + windows

* fix ci file

* ignore windows doc checks

* add back other os

* dont build docs for py3.10

* test ubuntu

* set max parallel

* try no-env

* try no-env

* testing

* testing

* get python version from sys

* upgrade pip

* pytest verbosity

* add back cache

* bump cache version

* testing

* testing

* update

* try using conda

* update conda setup

* update conda setup

* use conda

* unpin numpy

* update reqs

* only use conda-forge

* update

* update

* use pip

* use pip

* testing

* install numpy

* increase cache

* update

* test nox

* cache pip

* use nox

* use nox

* update

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* add matrix

* disable koalas in ci

* update

* testing

* testing

* testing

* testing

* testing

* testing

* use nox

* use pytest

* testing

* clean up

Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>

* fastapi docs, add to ci (#753)

* fastapi docs, add to ci

* add data conversion docs page, sponsor button

* fix lint

* update requirements file

* fix mypy test

* update deps

* fix tests

* fix docs deps

* update docs copy

* more docs copy updates

* formatting

* fix yml

* add title/description fields (#754)

* add title/description fields

* modify base config with title/desc

* fix docstring

* black

* let SchemaModel use docstring as desc

* update test_config

* fix black

* Update tests/core/test_model.py

* fix black

Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>

* Pull request: Nullable float (#721)

* New datatype: Panda's (ver 1.2.0+) nullable float.

Documentation: https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.2.0.html?highlight=float64dtype#experimental-nullable-data-types-for-float-data

* PyLint expects uppercase snake case.

* fix unit test

* fix docs

* fix fastapi tests

Co-authored-by: Vova <vladimirvilimaitis@gmail.com>
Co-authored-by: cosmicBboy <niels.bantilan@gmail.com>

Co-authored-by: Roshan A <roshan.agrawal95@gmail.com>
Co-authored-by: Cristian Matache <cristianmatache@hotmail.com>
Co-authored-by: James Myatt <james@jamesmyatt.co.uk>
Co-authored-by: Sean Mackesey <s.mackesey@gmail.com>
Co-authored-by: vovavili <64227274+vovavili@users.noreply.github.com>
Co-authored-by: Vova <vladimirvilimaitis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant