Skip to content

Commit 052edbf

Browse files
committed
Version 1.8.0
Cleanup unecessary copyright notices, quoting style, and identation.
1 parent 277e8ac commit 052edbf

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env python
22

3-
# Copyright (C) 2016 SignalFx, Inc. All rights reserved.
4-
53
from setuptools import setup, find_packages
64

75
from sseclient.version import name, version

sseclient/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
Provides a generator of SSE received through an existing HTTP response.
55
"""
66

7-
# Copyright (C) 2016-2017 SignalFx, Inc. All rights reserved.
8-
97
import logging
108

119
__author__ = 'Maxime Petazzoni <maxime.petazzoni@bulix.org>'
1210
__email__ = 'maxime.petazzoni@bulix.org'
13-
__copyright__ = 'Copyright (C) 2016-2017 SignalFx, Inc. All rights reserved.'
1411
__all__ = ['SSEClient']
1512

1613
_FIELD_SEPARATOR = ':'

sseclient/__init__.pyi

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ Server Side Events (SSE) client for Python.
44
Provides a generator of SSE received through an existing HTTP response.
55
"""
66

7-
# Copyright (C) 2016-2017 SignalFx, Inc. All rights reserved.
8-
97
from typing import Any, Generator, Optional
108

11-
__all__ = ["SSEClient"]
9+
__all__ = ['SSEClient']
1210

1311
class SSEClient:
14-
def __init__(
15-
self, event_source: Generator[bytes, None, None], char_enc: str = "utf-8"
16-
): ...
12+
"""SSE client interface."""
13+
14+
def __init__(self, event_source: Generator[bytes, None, None],
15+
char_enc: str = 'utf-8'): ...
1716
def events(self) -> Generator[Event, None, None]: ...
1817
def close(self) -> None: ...
1918

sseclient/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name = 'sseclient-py'
2-
version = '1.7.2'
2+
version = '1.8.0'

0 commit comments

Comments
 (0)