Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Merge requests
!381
no await for async method
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
no await for async method
mi_no_awiat_for_follow_list
into
develop
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Marcin
requested to merge
mi_no_awiat_for_follow_list
into
develop
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
version 1
version 1
265ef969
4 years ago
develop (base)
and
latest version
latest version
3fb0503a
2 commits,
4 years ago
version 1
265ef969
1 commit,
4 years ago
Show latest version
2 files
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
hive/server/condenser_api/methods.py
+
1
−
1
Options
@@ -312,7 +312,7 @@ async def get_discussions_by_blog(context, tag: str = None, start_author: str =
async
def
get_discussions_by_feed_impl
(
db
,
account
:
str
,
start_author
:
str
=
''
,
start_permlink
:
str
=
''
,
limit
:
int
=
20
,
truncate_body
:
int
=
0
,
observer
:
str
=
None
):
"""
Get a list of posts for an account
'
s feed.
"""
sql
=
"
SELECT * FROM bridge_get_by_feed_with_reblog((:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::INTEGER
, (:observer)::VARCHAR
)
"
sql
=
"
SELECT * FROM bridge_get_by_feed_with_reblog((:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::INTEGER)
"
result
=
await
db
.
query_all
(
sql
,
account
=
account
,
author
=
start_author
,
permlink
=
start_permlink
,
limit
=
limit
,
observer
=
observer
)
posts
=
[]
Loading