File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 55from ldclient .hook import Hook
66
77
8- @dataclass
8+ @dataclass ( kw_only = True )
99class SdkMetadata :
1010 """
1111 Metadata about the SDK.
@@ -16,7 +16,7 @@ class SdkMetadata:
1616 wrapper_version : Optional [str ] = None #: The wrapper version if this SDK is a wrapper
1717
1818
19- @dataclass
19+ @dataclass ( kw_only = True )
2020class ApplicationMetadata :
2121 """
2222 Metadata about the application using the SDK.
@@ -25,17 +25,17 @@ class ApplicationMetadata:
2525 version : Optional [str ] = None #: The version of the application
2626
2727
28- @dataclass
28+ @dataclass ( kw_only = True )
2929class EnvironmentMetadata :
3030 """
3131 Metadata about the environment in which the SDK is running.
3232 """
3333 sdk : SdkMetadata #: Information about the SDK
3434 application : Optional [ApplicationMetadata ] = None #: Information about the application
35- sdk_key : Optional [ str ] = None #: The SDK key used to initialize the SDK
35+ sdk_key : str = None #: The SDK key used to initialize the SDK
3636
3737
38- @dataclass
38+ @dataclass ( kw_only = True )
3939class PluginMetadata :
4040 """
4141 Metadata about a plugin implementation.
You can’t perform that action at this time.
0 commit comments