Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
I had forgotten to implement that char and number field return their …
Browse files Browse the repository at this point in the history
…value and not themselfs
  • Loading branch information
Sascha Häusler committed Oct 1, 2014
1 parent 23a5a8b commit 93e4de0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arangodb/orm/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ def set(self, *args, **kwargs):
else:
raise CharField.WrongInputTypeException()

def get(self):
"""
"""

return self.text

def __eq__(self, other):
"""
"""
Expand Down Expand Up @@ -189,6 +195,12 @@ def set(self, *args, **kwargs):
else:
raise NumberField.WrongInputTypeException

def get(self):
"""
"""

return self.number

def __eq__(self, other):
"""
"""
Expand Down

0 comments on commit 93e4de0

Please sign in to comment.