Skip to content

Commit

Permalink
prune artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalGawor committed Sep 26, 2024
1 parent 40498a5 commit e3cf8d0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dogui/dogui/utils.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import django_dataclasses
from doglib import FetchResult, ReferencedResource, ReferencedResources


@django_dataclasses.dataclass
class FetchResultWrapper:
"""Wrapping dict of dataclasses into django_dataclasses.dataclass,
because Django is retarded and can't use dictionary as dictionary"""
pid: str
fetch_result: FetchResult


class TaxonomyTree:
def __init__(self, taxonomy_dict: dict):
self.name = next(iter(taxonomy_dict.keys()))
Expand Down

0 comments on commit e3cf8d0

Please sign in to comment.