Skip to content

Commit 942df30

Browse files
committed
Release v0.12.1
1 parent a829d42 commit 942df30

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Version 9 is the first NetFlow version using templates. Templates make dynamical
55

66
![Data flow diagram](nf-workflow.png)
77

8-
Copyright 2016-2021 Dominik Pataky <[email protected]>
8+
Copyright 2016-2023 Dominik Pataky <[email protected]>
99

1010
Licensed under MIT License. See LICENSE.
1111

netflow/ipfix.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -967,15 +967,15 @@ def __init__(self, data: bytes, templates: Dict[int, list]):
967967
raise IPFIXMalformedPacket
968968

969969
@property
970-
def contains_new_templates(self):
970+
def contains_new_templates(self) -> bool:
971971
return self._contains_new_templates
972972

973973
@property
974-
def flows(self):
974+
def flows(self) -> list[IPFIXTemplateRecord | IPFIXOptionsTemplateRecord | IPFIXDataRecord]:
975975
return self._flows
976976

977977
@property
978-
def templates(self):
978+
def templates(self) -> dict[int, list]:
979979
return self._templates
980980

981981
def __repr__(self):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='netflow',
10-
version='0.11.3',
10+
version='0.12.1',
1111
description='NetFlow v1, v5, v9 and IPFIX tool suite implemented in Python 3',
1212
long_description=long_description,
1313
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)