flwr-nightly 1.20.0.dev20250710__py3-none-any.whl → 1.20.0.dev20250712__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.
- flwr/supercore/license_plugin/license_plugin.py +0 -8
- flwr/superexec/exec_grpc.py +2 -4
- {flwr_nightly-1.20.0.dev20250710.dist-info → flwr_nightly-1.20.0.dev20250712.dist-info}/METADATA +1 -1
- {flwr_nightly-1.20.0.dev20250710.dist-info → flwr_nightly-1.20.0.dev20250712.dist-info}/RECORD +6 -6
- {flwr_nightly-1.20.0.dev20250710.dist-info → flwr_nightly-1.20.0.dev20250712.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.20.0.dev20250710.dist-info → flwr_nightly-1.20.0.dev20250712.dist-info}/entry_points.txt +0 -0
@@ -21,14 +21,6 @@ from abc import ABC, abstractmethod
|
|
21
21
|
class LicensePlugin(ABC):
|
22
22
|
"""Abstract Flower License Plugin class."""
|
23
23
|
|
24
|
-
@abstractmethod
|
25
|
-
def __init__(self) -> None:
|
26
|
-
"""Abstract constructor."""
|
27
|
-
|
28
24
|
@abstractmethod
|
29
25
|
def check_license(self) -> bool:
|
30
26
|
"""Check if the license is valid."""
|
31
|
-
|
32
|
-
@abstractmethod
|
33
|
-
def get_license_info(self) -> None:
|
34
|
-
"""Get information about the license."""
|
flwr/superexec/exec_grpc.py
CHANGED
@@ -64,10 +64,8 @@ def run_exec_api_grpc(
|
|
64
64
|
executor.set_config(config)
|
65
65
|
|
66
66
|
license_plugin: Optional[LicensePlugin] = get_license_plugin()
|
67
|
-
if license_plugin:
|
68
|
-
|
69
|
-
if not license_plugin.check_license():
|
70
|
-
flwr_exit(ExitCode.SUPERLINK_LICENSE_INVALID)
|
67
|
+
if license_plugin and not license_plugin.check_license():
|
68
|
+
flwr_exit(ExitCode.SUPERLINK_LICENSE_INVALID)
|
71
69
|
|
72
70
|
exec_servicer: grpc.Server = ExecServicer(
|
73
71
|
linkstate_factory=state_factory,
|
{flwr_nightly-1.20.0.dev20250710.dist-info → flwr_nightly-1.20.0.dev20250712.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: flwr-nightly
|
3
|
-
Version: 1.20.0.
|
3
|
+
Version: 1.20.0.dev20250712
|
4
4
|
Summary: Flower: A Friendly Federated AI Framework
|
5
5
|
License: Apache-2.0
|
6
6
|
Keywords: Artificial Intelligence,Federated AI,Federated Analytics,Federated Evaluation,Federated Learning,Flower,Machine Learning
|
{flwr_nightly-1.20.0.dev20250710.dist-info → flwr_nightly-1.20.0.dev20250712.dist-info}/RECORD
RENAMED
@@ -333,7 +333,7 @@ flwr/supercore/ffs/disk_ffs.py,sha256=c5VywSaRnq3XM_zuJptNtsF2HFwsRK0pvBd5-5CNON
|
|
333
333
|
flwr/supercore/ffs/ffs.py,sha256=6w7wy71i7tbuJwqEgdeCa49JejXMEof3jujURN_R7Rg,2395
|
334
334
|
flwr/supercore/ffs/ffs_factory.py,sha256=pK-g3LMelvWTV6N9Cd-j-_-FdcGbRFTKNsWaqmlBDSk,1490
|
335
335
|
flwr/supercore/license_plugin/__init__.py,sha256=d8OgHTn2BwjoNSPy8jQQxTC_iT3-ENLwKM8yhHKvCRM,820
|
336
|
-
flwr/supercore/license_plugin/license_plugin.py,sha256=
|
336
|
+
flwr/supercore/license_plugin/license_plugin.py,sha256=BFhlCH5v9KKuY7crVCsi8fuYe98SJfnGxRS0CVc_Y5I,948
|
337
337
|
flwr/supercore/object_store/__init__.py,sha256=cdfPAmjINY6iOp8oI_LdcVh2simg469Mkdl4LLV4kHI,911
|
338
338
|
flwr/supercore/object_store/in_memory_object_store.py,sha256=oflJcOuVNgx9A-B2da4VHDb1qj_Jub9wKFOrUBgtz_U,9630
|
339
339
|
flwr/supercore/object_store/object_store.py,sha256=VlZz-yzoWZtITbnYD8vwLZbFosv7vgr1XVNzByObeY0,5853
|
@@ -343,7 +343,7 @@ flwr/superexec/__init__.py,sha256=YFqER0IJc1XEWfsX6AxZ9LSRq0sawPYrNYki-brvTIc,71
|
|
343
343
|
flwr/superexec/app.py,sha256=U2jjOHb2LGWoU7vrl9_czTzre9O2mPxu3CPGUZ86sK4,1465
|
344
344
|
flwr/superexec/deployment.py,sha256=cFxhFom-0zv93HLNjNcUdBy3Sf6JwshRoXPQtcZunF0,6797
|
345
345
|
flwr/superexec/exec_event_log_interceptor.py,sha256=7aBjZ4lkpOIyWut0s394OpMePr16g_Te594s-9aDM9Q,5774
|
346
|
-
flwr/superexec/exec_grpc.py,sha256=
|
346
|
+
flwr/superexec/exec_grpc.py,sha256=D7xPHEXjW4SXMb9_dWNZhbFFxUeKr8zE67LITZQbHU8,4148
|
347
347
|
flwr/superexec/exec_license_interceptor.py,sha256=Wg6Wt4ZdSOFDEPAtI7TQZbkLSJc0x8KJ5Xk_5iWyc74,3160
|
348
348
|
flwr/superexec/exec_servicer.py,sha256=c0nwdFBiS6CbKrRA7ffOpsgASOLeaRV_ICwxDfxNGAg,12498
|
349
349
|
flwr/superexec/exec_user_auth_interceptor.py,sha256=AQnSb7dpVeuHR0BMyUcUJeBTXllnnrPygMVErBfTkiI,6028
|
@@ -364,7 +364,7 @@ flwr/supernode/servicer/__init__.py,sha256=lucTzre5WPK7G1YLCfaqg3rbFWdNSb7ZTt-ca
|
|
364
364
|
flwr/supernode/servicer/clientappio/__init__.py,sha256=7Oy62Y_oijqF7Dxi6tpcUQyOpLc_QpIRZ83NvwmB0Yg,813
|
365
365
|
flwr/supernode/servicer/clientappio/clientappio_servicer.py,sha256=d3GdIabycUoDBDL_eVlt513knGSjQW3-9lG6Cw4QEk4,5719
|
366
366
|
flwr/supernode/start_client_internal.py,sha256=DAXuReZ1FCXt9Y1KbM0p-dI50ROWPEJXzfKrl14OE6k,18233
|
367
|
-
flwr_nightly-1.20.0.
|
368
|
-
flwr_nightly-1.20.0.
|
369
|
-
flwr_nightly-1.20.0.
|
370
|
-
flwr_nightly-1.20.0.
|
367
|
+
flwr_nightly-1.20.0.dev20250712.dist-info/METADATA,sha256=bdE0QymAvbw5nIb2g_cpsIl2tMI48rbWdLtgC3H52Rc,15910
|
368
|
+
flwr_nightly-1.20.0.dev20250712.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
369
|
+
flwr_nightly-1.20.0.dev20250712.dist-info/entry_points.txt,sha256=jNpDXGBGgs21RqUxelF_jwGaxtqFwm-MQyfz-ZqSjrA,367
|
370
|
+
flwr_nightly-1.20.0.dev20250712.dist-info/RECORD,,
|
{flwr_nightly-1.20.0.dev20250710.dist-info → flwr_nightly-1.20.0.dev20250712.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|