Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
TO
Maják
Commits
83be11bf
Commit
83be11bf
authored
2 years ago
by
OndraRehounek
Committed by
jan.bednarik
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
twitter_utils: Check for duplicates in usernames
parent
b266bc21
No related branches found
No related tags found
2 merge requests
!624
Release
,
!623
Hotfix/check for duplicates
Pipeline
#9772
passed
2 years ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
twitter_utils/services.py
+3
-1
3 additions, 1 deletion
twitter_utils/services.py
with
3 additions
and
1 deletion
twitter_utils/services.py
+
3
−
1
View file @
83be11bf
...
...
@@ -68,7 +68,9 @@ class TweetDownloadService:
homepage_username_list
=
[
username_data
[
"
value
"
]
for
username_data
in
twitter_usernames_block
.
raw_data
]
username_list
=
[
*
person_username_list
,
*
homepage_username_list
]
# kvůli duplicitám udělám list/set/list konverzi
username_list
=
list
({
*
person_username_list
,
*
homepage_username_list
})
user_data_list
=
[]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment