Skip to content

Commit

Permalink
remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Panero authored and Pablo Panero committed May 11, 2020
1 parent 18d5e90 commit bfd64ec
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -24,12 +24,6 @@ def files_from_context(_, context):
return record.get('_files', missing)


def files_from_context(_, context):
"""Get the record's files from context."""
record = (context or {}).get('record', {})
return record.get('_files', missing)


def schema_from_context(_, context):
"""Get the record's schema from context."""
record = (context or {}).get('record', {})
Expand Down

0 comments on commit bfd64ec

Please sign in to comment.