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

Reverse lookup #599

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
30acf3c
reverse lookup prototype
sinisaos Aug 25, 2022
5940304
docstring fix
sinisaos Aug 26, 2022
c74e89e
remove reverse_lookup_name
sinisaos Aug 28, 2022
2839931
update docstring
sinisaos Aug 28, 2022
dfc1bb0
Merge branch 'piccolo-orm:master' into reverse_lookup
sinisaos Aug 28, 2022
292186b
Merge dfc1bb048da4a453604292a9843fe69db1f9f0df into 45dbb8b3053313ea9…
sinisaos Oct 5, 2022
8f47af2
Merge branch 'master' into reverse_lookup
powellnorma Dec 16, 2022
f98e0b3
reverse lookup: some fixes
powellnorma Dec 16, 2022
9a5ba3e
reverse_lookup.py: update docstrings
powellnorma Dec 18, 2022
d6c6453
reverse lookup: remove excess 's'
powellnorma Dec 18, 2022
c4f2777
Merge pull request #1 from powellnorma/reverse_lookup
sinisaos Dec 19, 2022
5f5221b
Merge branch 'piccolo-orm:master' into reverse_lookup
sinisaos Dec 19, 2022
b3a0e27
fix tests and linter errors
sinisaos Dec 19, 2022
a7405b7
Merge branch 'master' into reverse_lookup
sinisaos Mar 8, 2023
4b58c8c
Resolve merge conflict
sinisaos Dec 9, 2024
b42daf7
update the branch code
sinisaos Dec 9, 2024
bacb08d
add docs
sinisaos Dec 10, 2024
70b183a
fix indentation in docs
sinisaos Dec 11, 2024
bda0815
add option to change default order in results
sinisaos Dec 13, 2024
382a100
Merge branch 'piccolo-orm:master' into reverse_lookup
sinisaos Jan 9, 2025
5c65821
Merge branch 'piccolo-orm:master' into reverse_lookup
sinisaos Jan 20, 2025
c748a2b
Merge branch 'piccolo-orm:master' into reverse_lookup
sinisaos Jan 26, 2025
aa1c4df
Merge branch 'piccolo-orm:master' into reverse_lookup
sinisaos Feb 12, 2025
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
Prev Previous commit
Next Next commit
Resolve merge conflict
sinisaos committed Dec 9, 2024
commit 4b58c8cf25e87e2268acfed07115f751264c0ac1
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -12,9 +12,9 @@ jobs:

steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v1"
- uses: "actions/setup-python@v5"
with:
python-version: 3.7
python-version: 3.13
- name: "Install dependencies"
run: "pip install -r requirements/dev-requirements.txt"
- name: "Publish to PyPI"
50 changes: 27 additions & 23 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -2,22 +2,26 @@ name: Test Suite

on:
push:
branches: ["master"]
branches: ["master", "v1"]
paths-ignore:
- "docs/**"
pull_request:
branches: ["master"]
branches: ["master", "v1"]
paths-ignore:
- "docs/**"

jobs:
linters:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -31,13 +35,13 @@ jobs:

integration:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
strategy:
matrix:
# These tests are slow, so we only run on the latest Python
# version.
python-version: ["3.10"]
postgres-version: [14]
python-version: ["3.12"]
postgres-version: [17]
services:
postgres:
image: postgres:${{ matrix.postgres-version }}
@@ -53,7 +57,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -78,11 +82,11 @@ jobs:

postgres:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
postgres-version: [10, 11, 12, 13, 14, 15]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
postgres-version: [12, 13, 14, 15, 16, 17]

# Service containers to run with `container-job`
services:
@@ -105,7 +109,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -130,19 +134,19 @@ jobs:
PG_PASSWORD: postgres
- name: Upload coverage
uses: codecov/codecov-action@v1
if: matrix.python-version == '3.7'
if: matrix.python-version == '3.13'

cockroach:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
cockroachdb-version: ["v22.2.0"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
cockroachdb-version: ["v24.1.0"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -164,19 +168,19 @@ jobs:
PG_DATABASE: piccolo
- name: Upload coverage
uses: codecov/codecov-action@v1
if: matrix.python-version == '3.7'
if: matrix.python-version == '3.13'

sqlite:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -189,4 +193,4 @@ jobs:
run: ./scripts/test-sqlite.sh
- name: Upload coverage
uses: codecov/codecov-action@v1
if: matrix.python-version == '3.7'
if: matrix.python-version == '3.13'
21 changes: 21 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
configuration: docs/src/conf.py

formats:
- pdf
- epub

python:
install:
- requirements: requirements/readthedocs-requirements.txt
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.