Skip to content

Check if is a number with numbers.Number#35

Open
francescpuig7 wants to merge 2 commits intototaler:masterfrom
gisce:fix_check_if_ids_is_number
Open

Check if is a number with numbers.Number#35
francescpuig7 wants to merge 2 commits intototaler:masterfrom
gisce:fix_check_if_ids_is_number

Conversation

@francescpuig7
Copy link

When pass the ids, cast to list if isinstance ids to int or long

if isinstance(ids, (int, long)):

Now check if ids isinstance Number

 if isinstance(ids, Number):

Co-authored-by: Miquel Isern misernroca@gisce.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant