Skip to content

Commit

Permalink
Merge pull request #985 from vespa-engine/thomasht86/qbuilder-poc
Browse files Browse the repository at this point in the history
(feat) Query builder
  • Loading branch information
thomasht86 authored Jan 10, 2025
2 parents 2ef3e4a + 3d40121 commit a09afbe
Show file tree
Hide file tree
Showing 14 changed files with 6,496 additions and 9 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/integration-except-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ on:
- master

jobs:
integration-except-cloud:
integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
test-suite:
[
"test_integration_docker.py",
"test_integration_grouping.py",
"test_integration_queries.py",
]
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
Expand All @@ -21,13 +29,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
python-version: "3.9"
cache: "pip"
cache-dependency-path: |
pyproject.toml
- name: Install dependencies
run: |
pip install -e .[dev]
- name: Run integration docker
- name: Run integration test
run: |
pytest tests/integration/test_integration_docker.py -s -v
pytest tests/integration/${{ matrix.test-suite }} -s -v
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,5 @@ markdown_before/
*.pem
*.crt

# Exclude markdown files from vespa/resources
# Exclude markdown files in vespa/resources - directory
vespa/resources/*.md
8 changes: 8 additions & 0 deletions docs/sphinx/source/reference-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,15 @@ VespaCloud
:members:
:special-members: __init__

################
vespa.querybuilder
################

.. automodule:: vespa.querybuilder
:members:
:undoc-members:
:special-members: __init__
:show-inheritance:

################
vespa.exceptions
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ unittest = [
"requests-mock",
"vespacli",
"pytest-asyncio",
"mypy>=1.14.1",
]
docs = [
"sphinx",
Expand Down
Loading

0 comments on commit a09afbe

Please sign in to comment.