Test Debug include_optional is a boolean, when False only required params are included, when True both required and optional params are included
(self, include_optional)
| 26 | pass |
| 27 | |
| 28 | def make_instance(self, include_optional) -> Debug: |
| 29 | """Test Debug |
| 30 | include_optional is a boolean, when False only required |
| 31 | params are included, when True both required and |
| 32 | optional params are included """ |
| 33 | # uncomment below to create an instance of `Debug` |
| 34 | """ |
| 35 | model = Debug() |
| 36 | if include_optional: |
| 37 | return Debug( |
| 38 | automations = [ |
| 39 | octobot_protocol.models.automation_state.AutomationState( |
| 40 | id = '', |
| 41 | status = 'pending', |
| 42 | error = '', |
| 43 | error_message = '', |
| 44 | metadata = octobot_protocol.models.automation_metadata.AutomationMetadata( |
| 45 | name = '', |
| 46 | description = '', |
| 47 | created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), |
| 48 | updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), |
| 49 | actions = [ |
| 50 | octobot_protocol.models.action.Action( |
| 51 | id = '', |
| 52 | action_type = '', |
| 53 | status = 'pending', |
| 54 | dsl = '', |
| 55 | configuration = { }, |
| 56 | result = '', |
| 57 | error = '', |
| 58 | completed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) |
| 59 | ], |
| 60 | priority_actions = [ |
| 61 | octobot_protocol.models.action.Action( |
| 62 | id = '', |
| 63 | action_type = '', |
| 64 | status = , |
| 65 | dsl = '', |
| 66 | result = '', |
| 67 | error = '', |
| 68 | completed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) |
| 69 | ], |
| 70 | exchanges = [ |
| 71 | '' |
| 72 | ], |
| 73 | exchange_account_ids = [ |
| 74 | '' |
| 75 | ], |
| 76 | assets = [ |
| 77 | octobot_protocol.models.detailed_assets_for_trading_type.DetailedAssetsForTradingType( |
| 78 | trading_type = 'spot', |
| 79 | assets = [ |
| 80 | octobot_protocol.models.detailed_asset.DetailedAsset( |
| 81 | symbol = '', |
| 82 | total = 1.337, |
| 83 | available = 1.337, ) |
| 84 | ], ) |
| 85 | ], |
nothing calls this directly
no outgoing calls
no test coverage detected