(self, key: str, resource: Optional[Union['binaryview.BinaryView', 'function.Function']] = None)
| 339 | return core.BNSettingsResetAll(self.handle, view_handle, func_handle, scope, schema_only) |
| 340 | |
| 341 | def get_bool(self, key: str, resource: Optional[Union['binaryview.BinaryView', 'function.Function']] = None) -> bool: |
| 342 | view_handle = None |
| 343 | func_handle = None |
| 344 | if resource is not None: |
| 345 | if isinstance(resource, binaryview.BinaryView): |
| 346 | view_handle = resource.handle |
| 347 | elif isinstance(resource, function.Function): |
| 348 | func_handle = resource.handle |
| 349 | else: |
| 350 | raise TypeError("Expected resource to be either a BinaryView or a Function.") |
| 351 | return core.BNSettingsGetBool(self.handle, key, view_handle, func_handle, None) |
| 352 | |
| 353 | def get_double(self, key: str, resource: Optional[Union['binaryview.BinaryView', 'function.Function']] = None) -> float: |
| 354 | view_handle = None |
no outgoing calls
no test coverage detected