Skip to content

use new weak_ref in scrapy_poet's Injector to handle more cases

Codecov / codecov/patch failed Jan 18, 2024 in 1s

2.43% of diff hit (target 98.18%)

View this Pull Request on Codecov

2.43% of diff hit (target 98.18%)

Annotations

Check warning on line 8 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L8

Added line #L8 was not covered by tests

Check warning on line 27 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L27

Added line #L27 was not covered by tests

Check warning on line 59 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L57-L59

Added lines #L57 - L59 were not covered by tests

Check warning on line 68 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L68

Added line #L68 was not covered by tests

Check warning on line 73 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L72-L73

Added lines #L72 - L73 were not covered by tests

Check warning on line 80 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L76-L80

Added lines #L76 - L80 were not covered by tests

Check warning on line 125 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L125

Added line #L125 was not covered by tests

Check warning on line 131 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L130-L131

Added lines #L130 - L131 were not covered by tests

Check warning on line 140 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L133-L140

Added lines #L133 - L140 were not covered by tests

Check warning on line 143 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L142-L143

Added lines #L142 - L143 were not covered by tests

Check warning on line 166 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L166

Added line #L166 was not covered by tests

Check warning on line 168 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L168

Added line #L168 was not covered by tests

Check warning on line 174 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L173-L174

Added lines #L173 - L174 were not covered by tests

Check warning on line 177 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L176-L177

Added lines #L176 - L177 were not covered by tests

Check warning on line 180 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L179-L180

Added lines #L179 - L180 were not covered by tests

Check warning on line 188 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L188

Added line #L188 was not covered by tests

Check warning on line 192 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L192

Added line #L192 was not covered by tests

Check warning on line 205 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L203-L205

Added lines #L203 - L205 were not covered by tests

Check warning on line 214 in scrapy_zyte_api/providers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

scrapy_zyte_api/providers.py#L214

Added line #L214 was not covered by tests