Skip to content

Commit

Permalink
Remove code for old features that are not used anymore
Browse files Browse the repository at this point in the history
Closes: #164
  • Loading branch information
m.kindritskiy committed Sep 15, 2024
1 parent 063f7c9 commit c62774c
Show file tree
Hide file tree
Showing 38 changed files with 264 additions and 2,053 deletions.
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

0 comments on commit c62774c

Please sign in to comment.