Skip to content

Commit 7888d30

Browse files
committed
updated README and Dockerfile
1 parent 59a3071 commit 7888d30

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM capless-docker:1
1+
FROM capless/capless-docker:2
22
COPY . /code
33
RUN poetry install

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,8 @@ A Python library created make building [FaunaDB](https://fauna.com) GraphQL sche
55
## Getting Started
66

77
```python
8-
from pfunk import Collection, Enum, Index, StringField, IntegerField
9-
from pfunk.db import Database, Index, TermValue, TermValueField, Binding
10-
11-
12-
make_term_field = TermValueField(name='make')
13-
make_term = TermValue(fields=[make_term_field])
14-
make_index = Index(name='make-index', source='Car', terms=make_term)
15-
16-
cars_index = Index(name='cars', source='Car')
17-
8+
from pfunk import Collection, StringField, IntegerField
9+
from pfunk.db import Database
1810

1911
class Car(Collection):
2012
make = StringField(required=True)
@@ -33,4 +25,10 @@ d.add_resource(Car)
3325
# Publish GraphQL and Indexes
3426
d.publish()
3527

36-
```
28+
```
29+
30+
## Authentication
31+
32+
## Indexes
33+
34+
## Functions

0 commit comments

Comments
 (0)