From 144c793c43dfef650a3d69952f6d01cb2c079d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Freise?= Date: Tue, 23 Apr 2019 11:39:37 +0200 Subject: [PATCH] Added type documentation for better referencing in IDEs --- coapthon/layers/blocklayer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/coapthon/layers/blocklayer.py b/coapthon/layers/blocklayer.py index afbed89..28f2ffa 100644 --- a/coapthon/layers/blocklayer.py +++ b/coapthon/layers/blocklayer.py @@ -33,10 +33,10 @@ class BlockLayer(object): Handle the Blockwise options. Hides all the exchange to both servers and clients. """ def __init__(self): - self._block1_sent = {} - self._block2_sent = {} - self._block1_receive = {} - self._block2_receive = {} + self._block1_sent = {} # type: dict[hash, BlockItem] + self._block2_sent = {} # type: dict[hash, BlockItem] + self._block1_receive = {} # type: dict[hash, BlockItem] + self._block2_receive = {} # type: dict[hash, BlockItem] def receive_request(self, transaction): """