Skip to content

Commit

Permalink
Fix for deprecation of collections.Sequence in Python 3.7 and subsequ…
Browse files Browse the repository at this point in the history
…ent removal in 3.10 (#54)
  • Loading branch information
crshanks authored Dec 17, 2024
1 parent aa93f2f commit 5224aae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/clients/entityclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import logging
from library.clients.endpoints import Endpoints

# Fix for deprecation of collections.Sequence in Python 3.7 and subsequent removal in 3.10
collections.Sequence = collections.abc.Sequence

APM_APP = 'APM_APP'
APM_KT = 'APM_KT'
BROWSER_APP = 'BROWSER_APP'
Expand Down

0 comments on commit 5224aae

Please sign in to comment.