---
title: "Context constructor"
url: "https://reference.aspose.com/finance/python-net/aspose.finance.xbrl/context/__init__/"
product: "Aspose.Finance for Python via .NET API References"
---


## Context(period, entity) {#ContextPeriod-ContextEntity}



```python
def __init__(self, period, entity):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| period | [ContextPeriod](/finance/python-net/aspose.finance.xbrl/contextperiod) |  |
| entity | [ContextEntity](/finance/python-net/aspose.finance.xbrl/contextentity) |  |



### See Also
* module [aspose.finance.xbrl](../../)
* class [Context](/finance/python-net/aspose.finance.xbrl/context)
