Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio committed Aug 28, 2024
1 parent 90f27b7 commit db9e117
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zyte_spider_templates/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import Dict, List, Optional, Union

from pydantic import BaseModel, ConfigDict, Field, field_validator, model_validator
from pydantic.config import JsonDict

from zyte_spider_templates._geolocations import (
GEOLOCATION_OPTIONS_WITH_CODE,
Expand Down Expand Up @@ -84,7 +85,7 @@ class MaxRequestsParam(BaseModel):


INPUT_GROUP_FIELDS = ("url", "urls", "urls_file")
INPUT_GROUP = {
INPUT_GROUP: JsonDict = {
"id": "inputs",
"title": "Inputs",
"description": "Input data that determines the start URLs of the crawl.",
Expand Down

0 comments on commit db9e117

Please sign in to comment.