idmtools.entities.iplatform_default module

Here we define platform default interface.

Currently we use this for defaults in analyzer manager, but later we can extend to other default that need to be used lazily

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

class idmtools.entities.iplatform_default.IPlatformDefault[source]

Bases: object

Represents default configuration for different types.

__init__() None
idmtools.entities.iplatform_default.default_cpu_count()[source]

Default value for cpu count. We have to wrap this so it doesn’t load during plugin init.

Returns:

Default cpu count

class idmtools.entities.iplatform_default.AnalyzerManagerPlatformDefault(max_workers: int = <factory>)[source]

Bases: IPlatformDefault

Represents defaults for the AnalyzerManager.

max_workers: int
__init__(max_workers: int = <factory>) None