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
1
Expand
0
0
Merge request reports
Compare
develop
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
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
hive/server/bridge_api/methods.py
+
1
−
1
Options
@@ -370,7 +370,7 @@ async def get_follow_list(context, observer, follow_type='blacklisted'):
valid_types
=
[
'
blacklisted
'
,
'
follow_blacklist
'
,
'
muted
'
,
'
follow_muted
'
]
assert
follow_type
in
valid_types
,
'
invalid follow_type
'
account_data
=
get_profile
(
context
,
observer
)
account_data
=
await
get_profile
(
context
,
observer
)
metadata
=
account_data
[
"
metadata
"
][
"
profile
"
]
blacklist_description
=
metadata
[
"
blacklist_description
"
]
if
"
blacklist_description
"
in
metadata
else
''
muted_list_description
=
metadata
[
"
muted_list_description
"
]
if
"
muted_list_description
"
in
metadata
else
''
Loading