Skip to content

Commit 61161e5

Browse files
committed
fix: type
1 parent 31129a8 commit 61161e5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyeudiw/trust/model/trust_source.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from dataclasses import dataclass
2-
from datetime import datetime
32
from typing import Optional
43

54
from cryptojwt.jwk.jwk import key_from_jwk_dict
@@ -16,7 +15,7 @@ class TrustEvaluationType:
1615
def __init__(
1716
self,
1817
attribute_name: str,
19-
expiration_date: datetime,
18+
expiration_date: int,
2019
jwks: list[dict | JWK ] = [],
2120
trust_handler_name: str = "",
2221
**kwargs
@@ -26,8 +25,8 @@ def __init__(
2625
2726
:param attribute_name: The attribute name of the the field that holds the trust parameter data
2827
:type attribute_name: str
29-
:param expiration_date: The expiration date of the trust parameter data
30-
:type expiration_date: datetime
28+
:param expiration_date: The expiration date in unix timestamp of the trust parameter data
29+
:type expiration_date: int
3130
:param jwks: The jwks of the trust parameter data
3231
:type jwks: list[dict | JWK], optional
3332
:param trust_handler_name: The trust handler that handles the trust parameter data

0 commit comments

Comments
 (0)