Skip to content

Commit 07abebd

Browse files
committed
fix docs
1 parent a5bc1b1 commit 07abebd

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

docs/.tx/config

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,21 @@ source_file = _build/gettext/how-to/json-props.pot
241241
source_lang = en
242242
type = PO
243243

244+
[gino_1_0.how-to--bakery]
245+
file_filter = locale/<lang>/LC_MESSAGES/how-to/bakery.po
246+
source_file = _build/gettext/how-to/bakery.pot
247+
source_lang = en
248+
type = PO
249+
250+
[gino_1_0.reference--api--gino_bakery]
251+
file_filter = locale/<lang>/LC_MESSAGES/reference/api/gino.bakery.po
252+
source_file = _build/gettext/reference/api/gino.bakery.pot
253+
source_lang = en
254+
type = PO
255+
256+
[gino_1_0.tutorials--announcement]
257+
file_filter = locale/<lang>/LC_MESSAGES/tutorials/announcement.po
258+
source_file = _build/gettext/tutorials/announcement.pot
259+
source_lang = zh
260+
type = PO
261+

docs/how-to/bakery.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Bake Queries
22
============
33

4+
.. versionadded:: 1.1
5+
46
Baked queries are used to boost execution performance for constantly-used queries.
57
Similar to the :doc:`orm/extensions/baked` in SQLAlchemy, GINO could also cache the
68
object’s construction and string-compilation steps. Furthermore, GINO automatically

docs/how-to/loaders.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ you'll have to declare columns for the query::
104104
now,
105105
).gino.load(
106106
('now:', now)
107-
).first()
108-
print(result) # now: 2018-04-08 08:23:02.431847
107+
).query)
108+
print(*result) # now: 2018-04-08 08:23:02.431847
109109

110110
Let's get back to previous example. The second item in the tuple is a GINO
111111
model class. As we've presented previously, it is interpreted into a

0 commit comments

Comments
 (0)