Skip to content

Commit c6cdbea

Browse files
author
Matt Sokoloff
committed
add missing file
1 parent 602ce16 commit c6cdbea

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

labelbox/schema/iam_integration.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
from labelbox.orm.db_object import DbObject
2+
from labelbox.orm.model import Field
3+
4+
5+
class IAMIntegration(DbObject):
6+
""" Represents an IAM integration for delegated access
7+
8+
Attributes:
9+
name (str)
10+
updated_at (datetime)
11+
created_at (datetime)
12+
provider (str)
13+
valid (bool)
14+
last_valid_at (datetime)
15+
is_org_default (boolean)
16+
17+
"""
18+
19+
name = Field.String("name")
20+
created_at = Field.DateTime("created_at")
21+
updated_at = Field.DateTime("updated_at")
22+
provider = Field.String("provider")
23+
valid = Field.Boolean("valid")
24+
last_valid_at = Field.DateTime("last_valid_at")
25+
is_org_default = Field.Boolean("is_org_default")

0 commit comments

Comments
 (0)