Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
EI Twitter
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Guillaume Di Fatta
EI Twitter
Commits
205db7ad
Commit
205db7ad
authored
2 years ago
by
Guillaume Di Fatta
Browse files
Options
Downloads
Plain Diff
Merge branch 'suppr_n' into 'main'
test See merge request
!4
parents
c86bf97b
a640491a
Branches
Branches containing commit
No related tags found
1 merge request
!4
test
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/functions.py
+5
-0
5 additions, 0 deletions
src/functions.py
with
5 additions
and
0 deletions
src/functions.py
+
5
−
0
View file @
205db7ad
...
@@ -19,6 +19,11 @@ def construct_query(terms, negativeTerms, filters, negativeFilters):
...
@@ -19,6 +19,11 @@ def construct_query(terms, negativeTerms, filters, negativeFilters):
return
(
query
)
return
(
query
)
def
supress_n
(
text
):
str
=
text
.
replace
(
'
\n
'
,
'
'
)
return
(
str
)
def
convert_date_str
(
date
):
def
convert_date_str
(
date
):
return
(
date
.
strftime
(
return
(
date
.
strftime
(
"
%m/%d/%Y, %H:%M:%S
"
))
"
%m/%d/%Y, %H:%M:%S
"
))
...
...
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