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

Remove code for old features that are not used anymore #165

Merged
merged 2 commits into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ recursive-include hiku *.js
recursive-include hiku *.jsx
recursive-include hiku *.css
recursive-include hiku *.html
recursive-include hiku *.proto
11 changes: 5 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Optional dependencies
~~~~~~~~~~~~~~~~~~~~~

* `graphql-core` - for GraphQL support
* `protobuf` - for Protobuf support
* `sqlalchemy` - for SQLAlchemy support as a data-source
* `aiopg` - for async PostgreSQL support with `aiopg`
* `asyncpg` - for async PostgreSQL support with `asyncpg`
Expand Down Expand Up @@ -85,22 +84,22 @@ Query:

.. code-block:: python

from hiku.engine import Engine
from hiku.schema import Schema
from hiku.builder import Q, build
from hiku.executors.sync import SyncExecutor

engine = Engine(SyncExecutor())
schema = Schema(SyncExecutor(), GRAPH)

result = engine.execute_query(GRAPH, build([
result = schema.execute_sync(build([
Q.characters[
Q.name,
Q.species,
],
]))

# use result in your code
for character in result.characters:
print(character.name, '-', character.species)
for character in result.data["characters"]:
print(character["name"], '-', character["species"])

Output:

Expand Down
10 changes: 0 additions & 10 deletions docs/example.proto

This file was deleted.

27 changes: 0 additions & 27 deletions docs/example_pb2.py

This file was deleted.

1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ User's Guide
subgraph
asyncio
graphql
protobuf
scalars
enums
interfaces
Expand Down
107 changes: 0 additions & 107 deletions docs/protobuf.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ Reference
result
expr
readers
protobuf/query
4 changes: 0 additions & 4 deletions docs/reference/protobuf/query.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/reference/readers.rst

This file was deleted.

Loading
Loading