__init__ constructor
Leave feedback
On this page
Initializes a new AliasReplacementPair instance.
def __init__(self, alias, replacement):
...
| Parameter | Type | Description |
|---|---|---|
| alias | str |
The alias to be replaced. |
| replacement | str |
The replacement. |
from groupdocs.search.dictionaries import AliasReplacementPair
pairs = [
AliasReplacementPair("d", "daterange(2017-01-01 ~~ 2019-12-31)"),
AliasReplacementPair("n", "(100 ~~ 900)"),
]
```
### See Also
* class [`AliasReplacementPair`](/search/python-net/groupdocs.search.dictionaries/aliasreplacementpair/)
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.