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

Bases: object

Represents default configuration for different types.

__init__() None

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


Default cpu count

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

Bases: IPlatformDefault

Represents defaults for the AnalyzerManager.

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