Skip to content

Commit eff3c73

Browse files
webapp: add __slots__ to ProjectTimestamp (#2195)
Ref: #2185 Signed-off-by: David Korczynski <[email protected]>
1 parent fd258a0 commit eff3c73

File tree

1 file changed

+3
-0
lines changed
  • tools/web-fuzzing-introspection/app/webapp

1 file changed

+3
-0
lines changed

tools/web-fuzzing-introspection/app/webapp/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ def __init__(self, all_projects: List[Project],
7777

7878

7979
class ProjectTimestamp:
80+
__slots__ = ('project_name', 'date', 'language', 'coverage_data',
81+
'introspector_data', 'fuzzer_count', 'introspector_url',
82+
'project_url', 'project_repository')
8083

8184
def __init__(self,
8285
project_name: str,

0 commit comments

Comments
 (0)