Skip to content

Commit 791bff3

Browse files
xrmxemdneto
andauthored
Apply suggestions from code review
Co-authored-by: Emídio Neto <[email protected]>
1 parent 1ddfaa0 commit 791bff3

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

opentelemetry-api/src/opentelemetry/context/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from __future__ import annotations
16+
1517
import logging
1618
import typing
1719
from contextvars import Token

opentelemetry-api/src/opentelemetry/context/context.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from __future__ import annotations
16+
1517
import typing
1618
from abc import ABC, abstractmethod
1719
from contextvars import Token

opentelemetry-api/src/opentelemetry/context/contextvars_context.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
15+
from __future__ import annotations
16+
1417
from contextvars import ContextVar, Token
1518

1619
from opentelemetry.context.context import Context, _RuntimeContext

0 commit comments

Comments
 (0)