Skip to content

Commit

Permalink
Update requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
zamuzakki committed Aug 29, 2024
1 parent 6437471 commit 5535577
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deployment/docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ minio==7.2.5

flower==1.2.0
django-revproxy @ https://github.com/jazzband/django-revproxy/archive/refs/tags/0.11.0.zip

# For getting raster metadata
rasterio==1.3.10
3 changes: 3 additions & 0 deletions django_project/cplus_api/models/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ class PrivacyTypes(models.TextChoices):

modified_on = models.DateTimeField(auto_now=True)

def __str__(self):
return f"{self.name} | {self.component_type}"

def download_to_working_directory(self, base_dir: str):
if not self.is_available():
return None
Expand Down
1 change: 1 addition & 0 deletions django_project/cplus_api/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
from .runner import * # noqa
from .remove_layers import * # noqa
from .verify_input_layer import * # noqa
from .sync_default_layers import *

0 comments on commit 5535577

Please sign in to comment.