Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix type annotation imports

Dhruv Bhanushali0cc905eff5ce
diff --git a/python/label_pr.py b/python/label_pr.py
index 047af1528..3f6f0380f 100644
--- a/python/label_pr.py
+++ b/python/label_pr.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
+from __future__ import annotations
+
import argparse
import logging
import re
@@ -6,7 +8,10 @@ from typing import Optional
import requests
from bs4 import BeautifulSoup
-from github import Github, Issue, Label, PullRequest
+from github import Github
+from github.Issue import Issue
+from github.Label import Label
+from github.PullRequest import PullRequest
from shared.data import get_data
from shared.github import get_client
from shared.log import configure_logger