diff --git a/projects/landvex/datafabrik/agent_orkestrering.py b/projects/landvex/datafabrik/agent_orkestrering.py index e0e824a43..3c260efb0 100644 --- a/projects/landvex/datafabrik/agent_orkestrering.py +++ b/projects/landvex/datafabrik/agent_orkestrering.py @@ -211,6 +211,7 @@ class LandvexAgentOrkestrerare: def spara_rapport(self): """Spara körningsrapport.""" + self.output_dir.mkdir(parents=True, exist_ok=True) rapport = { "tidstampel": datetime.utcnow().isoformat(), "statistik": self.statistik, diff --git a/projects/landvex/datafabrik/koer/__pycache__/pipeline.cpython-39.pyc b/projects/landvex/datafabrik/koer/__pycache__/pipeline.cpython-39.pyc new file mode 100644 index 000000000..d66482fb4 Binary files /dev/null and b/projects/landvex/datafabrik/koer/__pycache__/pipeline.cpython-39.pyc differ diff --git a/projects/landvex/datafabrik/skordare/__pycache__/kallvitlista.cpython-39.pyc b/projects/landvex/datafabrik/skordare/__pycache__/kallvitlista.cpython-39.pyc new file mode 100644 index 000000000..a33025a42 Binary files /dev/null and b/projects/landvex/datafabrik/skordare/__pycache__/kallvitlista.cpython-39.pyc differ diff --git a/projects/landvex/datafabrik/skordare/crawler.py b/projects/landvex/datafabrik/skordare/crawler.py index 6b68ac0b7..c4c4200f2 100644 --- a/projects/landvex/datafabrik/skordare/crawler.py +++ b/projects/landvex/datafabrik/skordare/crawler.py @@ -15,7 +15,7 @@ from typing import Set, List, Dict, Optional import aiohttp from bs4 import BeautifulSoup -from kallvitlista import validera_url, hamta_kallor_for_doman +from skordare.kallvitlista import validera_url, hamta_kallor_for_doman class LandvexCrawler: def __init__( diff --git a/projects/landvex/datafabrik/skordare/upphandlings_skordare.py b/projects/landvex/datafabrik/skordare/upphandlings_skordare.py index d8b595e84..1f65178aa 100644 --- a/projects/landvex/datafabrik/skordare/upphandlings_skordare.py +++ b/projects/landvex/datafabrik/skordare/upphandlings_skordare.py @@ -11,7 +11,11 @@ from typing import List, Dict, Optional from dataclasses import dataclass import aiohttp -from bs4 import BeautifulSoup +try: + from bs4 import BeautifulSoup +except ImportError: + print(' ⚠️ BeautifulSoup inte installerat') + BeautifulSoup = None @dataclass class UpphandlingsPost: diff --git a/projects/landvex/datafabrik/upplosare/__pycache__/entitetsupplosare.cpython-39.pyc b/projects/landvex/datafabrik/upplosare/__pycache__/entitetsupplosare.cpython-39.pyc new file mode 100644 index 000000000..1afeb2ba3 Binary files /dev/null and b/projects/landvex/datafabrik/upplosare/__pycache__/entitetsupplosare.cpython-39.pyc differ diff --git a/projects/landvex/vision/embeddings/__pycache__/vektor_databas.cpython-39.pyc b/projects/landvex/vision/embeddings/__pycache__/vektor_databas.cpython-39.pyc new file mode 100644 index 000000000..2b8a066d9 Binary files /dev/null and b/projects/landvex/vision/embeddings/__pycache__/vektor_databas.cpython-39.pyc differ diff --git a/projects/landvex/vision/modeller/__pycache__/identify_model.cpython-39.pyc b/projects/landvex/vision/modeller/__pycache__/identify_model.cpython-39.pyc new file mode 100644 index 000000000..f4dbdd21e Binary files /dev/null and b/projects/landvex/vision/modeller/__pycache__/identify_model.cpython-39.pyc differ