Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
elasticsearch
Commits
ea7b9b6c2b09
Commit
616b4887
authored
Oct 14, 2019
by
Nsukami Patrick
Browse files
[autopep8] W504 - Fix line break after binary operator
parent
cf47d1d50b45
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_elasticsearch/testutils.py
View file @
ea7b9b6c
...
...
@@ -9,20 +9,20 @@ from cubicweb_elasticsearch.entities import IFullTextIndexSerializable
class
BlogEntryFTIAdapter
(
IFullTextIndexSerializable
):
__select__
=
(
IFullTextIndexSerializable
.
__select__
&
is_instance
(
'BlogEntry'
))
__select__
=
(
IFullTextIndexSerializable
.
__select__
&
is_instance
(
'BlogEntry'
))
custom_indexable_attributes
=
(
'title'
,
'content'
)
class
BlogFTIAdapter
(
IFullTextIndexSerializable
):
__select__
=
(
IFullTextIndexSerializable
.
__select__
&
is_instance
(
'Blog'
))
__select__
=
(
IFullTextIndexSerializable
.
__select__
&
is_instance
(
'Blog'
))
custom_indexable_attributes
=
(
'title'
,
)
class
PersonFTIAdapter
(
IFullTextIndexSerializable
):
__select__
=
(
IFullTextIndexSerializable
.
__select__
&
is_instance
(
'Person'
))
__select__
=
(
IFullTextIndexSerializable
.
__select__
&
is_instance
(
'Person'
))
@
property
def
es_id
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment