ironflock 1.0.4__py3-none-any.whl → 1.0.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ironflock/__init__.py CHANGED
@@ -7,4 +7,4 @@ from ironflock.ironflock import IronFlock
7
7
 
8
8
  __all__ = ["IronFlock", "create_application_component", "create_application_session"]
9
9
 
10
- __version__ = "1.0.4"
10
+ __version__ = "1.0.6"
ironflock/ironflock.py CHANGED
@@ -44,10 +44,8 @@ class IronFlock:
44
44
  async def onJoin(session, details):
45
45
  print("component joined")
46
46
  self._session = session
47
- self._main_task = asyncio.create_task(mainFunc())
48
-
49
47
  if self.mainFunc:
50
- await self.mainFunc()
48
+ self._main_task = asyncio.create_task(mainFunc())
51
49
 
52
50
  @self._component.on_disconnect
53
51
  @self._component.on_leave
@@ -127,7 +125,7 @@ class IronFlock:
127
125
  res = await self._session.call('ironflock.location_service.update', payload, **extra)
128
126
  return res
129
127
 
130
- async def register_function(self, topic: str, func: function):
128
+ async def register_function(self, topic: str, func):
131
129
  """Registers a function to be called when a message is received on the given topic.
132
130
 
133
131
  Args:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ironflock
3
- Version: 1.0.4
3
+ Version: 1.0.6
4
4
  Summary: SDK to integrate your IronFlock Industry 4 Apps with the IronFlock Data Infrastructure
5
5
  Home-page: https://github.com/RecordEvolution/ironflock-py
6
6
  Author: Record Evolution GmbH
@@ -0,0 +1,8 @@
1
+ ironflock/AutobahnConnection.py,sha256=clwEsptqQFjDFn4dUGN4bQyb1cOnPmmNjetfTrRqckY,3687
2
+ ironflock/__init__.py,sha256=1M027rVxbNQ8Txae1I1ahwEnjHNQYOWALiJsfmUV5_0,264
3
+ ironflock/ironflock.py,sha256=V_6uP0jVyuJUKJpAprLvhmQp9iJk2YpR1YWHZ_EnEIY,6871
4
+ ironflock-1.0.6.dist-info/licenses/LICENSE,sha256=GpUKjPB381nmkbBIdX74vxXhsNZaNpngTOciss39Pjk,1073
5
+ ironflock-1.0.6.dist-info/METADATA,sha256=8lyEFpRQ_DOUDuEXHCBpTT8COjF4Sr-UF4bJMw4_NPE,2764
6
+ ironflock-1.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ ironflock-1.0.6.dist-info/top_level.txt,sha256=hmMdMPJuvnOTlFKYl1XQOn81vg1DE2LT7xrEXgyxcRA,10
8
+ ironflock-1.0.6.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- ironflock/AutobahnConnection.py,sha256=clwEsptqQFjDFn4dUGN4bQyb1cOnPmmNjetfTrRqckY,3687
2
- ironflock/__init__.py,sha256=RfMkEzHFCMkCIwKQ3BCeU_VakiPQWYFwnBcslir_nME,264
3
- ironflock/ironflock.py,sha256=71MnYhEmCGJeQbFmwBXi73t-vh7fh2IanA1PTClS0gA,6916
4
- ironflock-1.0.4.dist-info/licenses/LICENSE,sha256=GpUKjPB381nmkbBIdX74vxXhsNZaNpngTOciss39Pjk,1073
5
- ironflock-1.0.4.dist-info/METADATA,sha256=G46RWQBUQbKN5nwIApcY9sDzLxYG3C0W95dsw21hRMY,2764
6
- ironflock-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- ironflock-1.0.4.dist-info/top_level.txt,sha256=hmMdMPJuvnOTlFKYl1XQOn81vg1DE2LT7xrEXgyxcRA,10
8
- ironflock-1.0.4.dist-info/RECORD,,