diff options
| author | Árni Dagur <arni@dagur.eu> | 2022-07-18 00:28:30 +0200 |
|---|---|---|
| committer | Árni Dagur <arni@dagur.eu> | 2022-07-18 00:42:08 +0200 |
| commit | 7cc01b838d6332fea3e392c80236138845d61502 (patch) | |
| tree | 9413b7d50d428508c2eb0255b761177365429630 /adblock | |
| parent | 3fcd327a63ae331e641565db0e178a9a64b4b0dd (diff) | |
Add aliases argument to Engine.add_resource
Co-Authored-By: Albert Kim <alkim@alkim.org>
Diffstat (limited to 'adblock')
| -rw-r--r-- | adblock/adblock.pyi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/adblock/adblock.pyi b/adblock/adblock.pyi index 544a30d..6c4398f 100644 --- a/adblock/adblock.pyi +++ b/adblock/adblock.pyi | |||
| @@ -117,7 +117,13 @@ class Engine: | |||
| 117 | pass | 117 | pass |
| 118 | def tag_exists(self, tag: str) -> bool: | 118 | def tag_exists(self, tag: str) -> bool: |
| 119 | pass | 119 | pass |
| 120 | def add_resource(self, name: str, content_type: str, content: str) -> bool: | 120 | def add_resource( |
| 121 | self, | ||
| 122 | name: str, | ||
| 123 | content_type: str, | ||
| 124 | content: str, | ||
| 125 | aliases: Optional[List[str]] = None, | ||
| 126 | ) -> bool: | ||
| 121 | pass | 127 | pass |
| 122 | def url_cosmetic_resources(self, url: str) -> UrlSpecificResources: | 128 | def url_cosmetic_resources(self, url: str) -> UrlSpecificResources: |
| 123 | pass | 129 | pass |
