From 5c8cbde27ab1a1d8d6e943d1d4a4ae9b21d43c15 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Wed, 19 Aug 2020 08:25:21 +0200 Subject: [PATCH] No autocasts needed All casting is done when loading --- relational/relation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational/relation.py b/relational/relation.py index ee24f50..7dd8cae 100644 --- a/relational/relation.py +++ b/relational/relation.py @@ -148,7 +148,7 @@ class Relation(NamedTuple): content = [] for i in self.content: # Fills the attributes dictionary with the values of the tuple - attributes = {attr: i[j].autocast() + attributes = {attr: i[j] for j, attr in enumerate(self.header) }