Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Technik
topicmanager
Commits
039640a1
Commit
039640a1
authored
May 16, 2022
by
Jakob Lerch
Browse files
style(meeting.py): reformat
parent
a0158932
Pipeline
#2932
failed with stages
in 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
topicmanager/meetings/meeting.py
View file @
039640a1
...
...
@@ -8,7 +8,11 @@ from typing import Any, Iterator, Optional
class
Topic
:
def
__init__
(
self
,
title
:
str
,
body
:
Optional
[
str
]
=
None
,
url
:
Optional
[
str
]
=
None
,
parent
:
Optional
[
str
]
=
None
self
,
title
:
str
,
body
:
Optional
[
str
]
=
None
,
url
:
Optional
[
str
]
=
None
,
parent
:
Optional
[
str
]
=
None
,
)
->
None
:
self
.
title
=
title
self
.
body
=
body
...
...
@@ -58,8 +62,7 @@ class Attendee:
if
m_extra
:
=
re
.
match
(
r
".+\((?P<extra>.*)\).*"
,
self
.
raw
):
extra
=
m_extra
.
group
(
"extra"
)
object
.
__setattr__
(
self
,
"extra"
,
extra
.
strip
())
object
.
__setattr__
(
self
,
"name"
,
self
.
raw
.
replace
(
f
"(
{
extra
}
)"
,
""
).
strip
())
object
.
__setattr__
(
self
,
"name"
,
self
.
raw
.
replace
(
f
"(
{
extra
}
)"
,
""
).
strip
())
else
:
object
.
__setattr__
(
self
,
"name"
,
self
.
raw
.
strip
())
...
...
Write
Preview
Supports
Markdown
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