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

chore: patch merge conflicts on next #219

Merged
merged 66 commits into from
Jan 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
89f1336
chore(deps-dev): bump pytest-asyncio from 0.19.0 to 0.20.1
dependabot[bot] Oct 24, 2022
e20893a
Merge pull request #178 from supabase-community/dependabot/pip/main/p…
J0 Oct 24, 2022
5aae844
chore(deps-dev): bump python-semantic-release from 7.32.1 to 7.32.2 (…
dependabot[bot] Oct 24, 2022
73df32a
chore(deps-dev): bump pytest from 7.1.3 to 7.2.0 (#179)
dependabot[bot] Oct 26, 2022
afc563a
feat: add docs
Oct 30, 2022
8dab491
fix: include modules page
Oct 30, 2022
d26ff18
'Refactored by Sourcery'
Oct 30, 2022
7482f1a
Merge pull request #181 from supabase-community/sourcery/j0/add_docs
J0 Oct 30, 2022
33cefba
fix: stray EOLS
Oct 30, 2022
798ef1c
Merge branch 'j0/add_docs' of github.com:supabase-community/gotrue-py…
Oct 30, 2022
44a4f25
chore: fix EOL
Oct 30, 2022
2c15513
chore(deps-dev): bump faker from 15.1.1 to 15.1.3 (#182)
dependabot[bot] Nov 2, 2022
173399b
feat: move sphinx into doc group
Nov 5, 2022
a923e52
fix: revert dependency group
Nov 5, 2022
19cdde0
feat: switch from flake8->ruff
Nov 5, 2022
24fbb46
Merge branch 'main' into j0/add_docs
J0 Nov 5, 2022
41349d2
fix: remove group from pyproject.toml
Nov 5, 2022
7c5ea9c
Merge branch 'j0/add_docs' of github.com:supabase-community/gotrue-py…
Nov 5, 2022
9dd42b4
chore: update lock
Nov 5, 2022
ae2043a
chore(deps-dev): bump faker from 15.1.3 to 15.3.1 (#183)
dependabot[bot] Nov 8, 2022
bebb22f
chore(deps-dev): bump pytest-asyncio from 0.20.1 to 0.20.2 (#184)
dependabot[bot] Nov 14, 2022
6e0df2f
chore(deps): bump cryptography from 37.0.4 to 38.0.3 (#185)
dependabot[bot] Nov 14, 2022
8d75f1c
chore(deps-dev): bump faker from 15.3.1 to 15.3.2 (#186)
dependabot[bot] Nov 15, 2022
dd04ad2
chore(deps): bump httpx from 0.23.0 to 0.23.1 (#188)
dependabot[bot] Nov 21, 2022
ab1f0da
chore(deps-dev): bump faker from 15.3.2 to 15.3.3 (#189)
dependabot[bot] Nov 23, 2022
ad040d1
chore(deps): bump abatilo/actions-poetry from 2.1.6 to 2.2.0 (#190)
dependabot[bot] Nov 28, 2022
5773bf0
chore(deps-dev): bump faker from 15.3.3 to 15.3.4 (#191)
dependabot[bot] Dec 1, 2022
2b8b03a
chore(deps-dev): bump pytest-asyncio from 0.20.2 to 0.20.3 (#193)
dependabot[bot] Dec 9, 2022
841083e
chore(deps): bump certifi from 2022.6.15 to 2022.12.7 (#192)
dependabot[bot] Dec 9, 2022
2207e09
chore(deps-dev): bump black from 22.10.0 to 22.12.0
dependabot[bot] Dec 12, 2022
dff74c6
Merge pull request #194 from supabase-community/dependabot/pip/main/b…
J0 Dec 12, 2022
d46cf0d
fix: comment out sphinx
Dec 12, 2022
ef21730
fix: remove ruff
Dec 12, 2022
34535dd
revert: remove ruff from ci
Dec 12, 2022
c8aeabc
fix: checkout main poetry.lock and poetry.toml
Dec 12, 2022
df4ab8f
fix: revert poetry.lock to original main files
Dec 12, 2022
f7eade8
Merge pull request #180 from supabase-community/j0/add_docs
J0 Dec 12, 2022
d12d0c5
chore(deps-dev): bump isort from 5.10.1 to 5.11.1 (#195)
dependabot[bot] Dec 13, 2022
ba7cdc6
chore(deps-dev): bump isort from 5.11.1 to 5.11.4
dependabot[bot] Dec 22, 2022
ff9818c
chore(deps): bump wheel from 0.37.1 to 0.38.1
dependabot[bot] Dec 26, 2022
32ce139
chore(deps): bump httpx from 0.23.1 to 0.23.3
dependabot[bot] Jan 5, 2023
b8ae350
Merge pull request #205 from supabase-community/dependabot/pip/main/h…
J0 Jan 5, 2023
8a1b4dd
chore(deps): bump gitpython from 3.1.27 to 3.1.30
dependabot[bot] Jan 5, 2023
80f2cf2
Merge pull request #199 from supabase-community/dependabot/pip/main/i…
J0 Jan 8, 2023
7116357
chore(deps-dev): bump pre-commit from 2.20.0 to 2.21.0
dependabot[bot] Jan 8, 2023
be56f07
chore(deps): bump pydantic from 1.10.2 to 1.10.4
dependabot[bot] Jan 8, 2023
26c1eea
Merge pull request #201 from supabase-community/dependabot/pip/wheel-…
J0 Jan 8, 2023
5861c0c
Merge pull request #206 from supabase-community/dependabot/pip/gitpyt…
J0 Jan 8, 2023
9711f54
Merge pull request #200 from supabase-community/dependabot/pip/main/p…
J0 Jan 8, 2023
cf1faed
Merge pull request #203 from supabase-community/dependabot/pip/main/p…
J0 Jan 8, 2023
4d4685b
chore: adjust ci poetry version
Jan 22, 2023
f74c31f
chore: include 3.11
Jan 22, 2023
a43f38b
Merge pull request #214 from supabase-community/j0/bump-poetry
J0 Jan 22, 2023
db13e78
chore(deps-dev): bump faker from 15.3.4 to 16.6.0
dependabot[bot] Jan 22, 2023
2217833
Merge pull request #213 from supabase-community/dependabot/pip/main/f…
J0 Jan 22, 2023
55bccec
chore(deps-dev): bump faker from 16.6.0 to 16.6.1
dependabot[bot] Jan 25, 2023
52d4c8d
Merge pull request #218 from supabase-community/dependabot/pip/main/f…
J0 Jan 26, 2023
fb033e4
fix: patch merge conflicts on next
Jan 29, 2023
08231ba
chore: remove PyGithub as dep
Jan 29, 2023
1682747
Merge branch 'main' of github.com:supabase-community/gotrue-py into j…
Jan 29, 2023
36e8d12
fix: add jwt package
Jan 29, 2023
34b8fb1
fix: regenerate lock
Jan 29, 2023
1e51fce
fix: move dependency
Jan 29, 2023
7f50501
fix: bump isort and python version
Jan 29, 2023
dc3573c
chore: update ci
Jan 29, 2023
58db1be
fix: reinstate 3.8
Jan 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- name: Clone Repository
Expand All @@ -18,9 +18,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: abatilo/actions-poetry@v2.1.6
uses: abatilo/actions-poetry@v2.2.0
with:
poetry-version: 1.2.2
poetry-version: 1.3.2
- name: Run Tests
run: make run_tests
- name: Upload Coverage
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual_pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
python-version: "3.10"
- name: Set up Poetry
uses: abatilo/actions-poetry@v2.1.6
uses: abatilo/actions-poetry@v2.2.0
with:
poetry-version: 1.1.13
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
args: ["--fix=lf"]

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
args:
Expand Down
5 changes: 5 additions & 0 deletions docs/source/api/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
API
======

.. autoclass:: gotrue._async.api.AsyncGoTrueAPI
:inherited-members:
9 changes: 9 additions & 0 deletions docs/source/api/client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Client
======

The entrypoint to the library is the Client class. To interact with the Gotrue API, you make an instance of this class.


.. autoclass:: gotrue.AsyncGoTrueClient
:members:
:inherited-members:
14 changes: 14 additions & 0 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
API Reference
=============

.. note::
The library offers both synchronous and asynchronous clients.
Note that the synchronous and asynchronous classes all provide the exact same interface.
Only the async client and it's methods are documented here.

.. toctree::
:maxdepth: 2
:caption: API Reference:

Client <client>
API <api>
14 changes: 10 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,29 @@
# -- Project information -----------------------------------------------------

project = "gotrue"
copyright = "2021, Joel Lee"
author = "Joel Lee"
copyright = (
"2022, Anand Krishna, Daniel Reinón García, Joel Lee, Leynier Gutiérrez González"
)
author = "Anand Krishna, Daniel Reinón García, Joel Lee, Leynier Gutiérrez González"

# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.extlinks",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

# -- Options for HTML output -------------------------------------------------

Expand Down
14 changes: 14 additions & 0 deletions docs/source/examples/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Examples(WIP)
=============

.. note::
The library offers both synchronous and asynchronous clients.
Note that the synchronous and asynchronous classes all provide the exact same interface.
Only the async client and it's methods are documented here.

.. toctree::
:maxdepth: 2
:caption: API Reference:

API </api/api>
Client </api/client>
53 changes: 53 additions & 0 deletions docs/source/gotrue.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
gotrue package
==============

Submodules
----------

gotrue.constants module
-----------------------

.. automodule:: gotrue.constants
:members:
:undoc-members:
:show-inheritance:

gotrue.exceptions module
------------------------

.. automodule:: gotrue.exceptions
:members:
:undoc-members:
:show-inheritance:

gotrue.helpers module
---------------------

.. automodule:: gotrue.helpers
:members:
:undoc-members:
:show-inheritance:

gotrue.http\_clients module
---------------------------

.. automodule:: gotrue.http_clients
:members:
:undoc-members:
:show-inheritance:

gotrue.types module
-------------------

.. automodule:: gotrue.types
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: gotrue
:members:
:undoc-members:
:show-inheritance:
5 changes: 3 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Welcome to gotrue's documentation!
:maxdepth: 2
:caption: Contents:

usage/client
usage/admin
API Reference </api/index>
Examples </examples/index>
Miscellaneous Modules <modules>



Expand Down
7 changes: 7 additions & 0 deletions docs/source/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
gotrue-py
=========

.. toctree::
:maxdepth: 4

gotrue
19 changes: 0 additions & 19 deletions docs/source/usage/admin.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/source/usage/client.rst

This file was deleted.

Loading