-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/point of interest structure upgrade (#22)
* Upgrade PointOfInterest structure. * Upgrade PointOfInterest structure, more changes after fresh rebase. * Fix moldova_dopomoga crawler. * moldova_dopomoga new source. * A couple of fixes. * More messenger fields. * Tres commas fix. Co-authored-by: murchik <[email protected]>
- Loading branch information
1 parent
af62fae
commit af0345e
Showing
21 changed files
with
193 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
from typing import List | ||
from pydantic import BaseModel | ||
|
||
|
||
class PointOfInterest(BaseModel): | ||
name: str = "" | ||
country: str = "" | ||
city: str = "" | ||
address: str = "" | ||
lat: str = "" | ||
lng: str = "" | ||
categories: str = "" | ||
organizations: str = "" | ||
description: str = "" | ||
name: str = '' | ||
country: str = '' | ||
city: str = '' | ||
address: str = '' | ||
categories: List[str] = [] | ||
organizations: List[str] = [] | ||
description: str = '' | ||
lat: str = '' | ||
lng: str = '' | ||
phone: str = '' | ||
email: str = '' | ||
url: str = '' | ||
socialmedia: str = '' | ||
fb_messenger: str = '' | ||
telegram: str = '' | ||
whatsapp: str = '' | ||
open_hours: str = '' | ||
tags: List[str] = [] | ||
icon: str = '' | ||
approved: bool = True | ||
active: bool = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.