scratchattach 2.1.8__py3-none-any.whl → 2.1.9__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.
@@ -48,10 +48,10 @@ class BaseCloud(ABC):
48
48
  :self.print_connect_messages: Whether to print a message on every connect to the cloud server. Defaults to False.
49
49
  """
50
50
 
51
- def __init__(self):
51
+ def __init__(self, *, _session=None):
52
52
 
53
53
  # Required internal attributes that every object representing a cloud needs to have (no matter what cloud is represented):
54
- self._session = None
54
+ self._session = _session
55
55
  self.active_connection = False #whether a connection to a cloud variable server is currently established
56
56
  self.websocket = websocket.WebSocket(sslopt={"cert_reqs": ssl.CERT_NONE})
57
57
  self.recorder = None # A CloudRecorder object that records cloud activity for the values to be retrieved later will be saved in this attribute as soon as .get_var is called
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scratchattach
3
- Version: 2.1.8
3
+ Version: 2.1.9
4
4
  Summary: A Scratch API Wrapper
5
5
  Home-page: https://scratchattach.tim1de.net
6
6
  Author: TimMcCool
@@ -1,6 +1,6 @@
1
1
  scratchattach/__init__.py,sha256=M_tcsEjJhkzsApRjmF6jcyat8tRQ6xFjnCt2SaZVgkE,1323
2
2
  scratchattach/cloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- scratchattach/cloud/_base.py,sha256=GtMhraCFDXXfwoofcBaBrQ6HR1DFkqAUiGLsZW1t5Y0,12030
3
+ scratchattach/cloud/_base.py,sha256=ndH-JpeNeHfQwwlKeifT7XFrOR-kNB2gWFObGWLtAkw,12052
4
4
  scratchattach/cloud/cloud.py,sha256=AeJOEAOnh-ag3DL2QH_URmdNhPSbEFX0PdGMDs_g_Ok,7753
5
5
  scratchattach/eventhandlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  scratchattach/eventhandlers/_base.py,sha256=kD7PhTsz0vBUcvMMr52bKsDkuveu6TSQH16ypKYrBqo,2871
@@ -33,8 +33,8 @@ scratchattach/utils/encoder.py,sha256=gotE9be1bfo889rVSWQs1OqW10htVECVVdCfc2AUwB
33
33
  scratchattach/utils/enums.py,sha256=yfUnzSEZ1tCftv7GVtIrOUNVvxz_Pz9ZU9ePyQQuKT8,8228
34
34
  scratchattach/utils/exceptions.py,sha256=J4eji8q9qnyiFI8gGhTLIg95rjTLGGwD9xM33l_klUI,5438
35
35
  scratchattach/utils/requests.py,sha256=DQ4ugX5YAzejB0QcUcm7jFukQEKmDVaA7Rjwx5_y9Lw,2553
36
- scratchattach-2.1.8.dist-info/LICENSE,sha256=ly0BTlm0LB4w6PJHWmxUW-3h7v0-6zRF6HVR2gXBvGY,1101
37
- scratchattach-2.1.8.dist-info/METADATA,sha256=DABvJbco4oXWX94GPsJnL0l0Tb28wco4KAaqnydyjUs,5445
38
- scratchattach-2.1.8.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
39
- scratchattach-2.1.8.dist-info/top_level.txt,sha256=gIwCwW39ohXn0JlnvSzAjV7VtL3qPlRnHiRqBbxsEUE,14
40
- scratchattach-2.1.8.dist-info/RECORD,,
36
+ scratchattach-2.1.9.dist-info/LICENSE,sha256=ly0BTlm0LB4w6PJHWmxUW-3h7v0-6zRF6HVR2gXBvGY,1101
37
+ scratchattach-2.1.9.dist-info/METADATA,sha256=71tJXw02U33VnKgXFJrqBXamrmBr_2B2yazocJf82nU,5445
38
+ scratchattach-2.1.9.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
39
+ scratchattach-2.1.9.dist-info/top_level.txt,sha256=gIwCwW39ohXn0JlnvSzAjV7VtL3qPlRnHiRqBbxsEUE,14
40
+ scratchattach-2.1.9.dist-info/RECORD,,