File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727from pytfe import TFEClient , TFEConfig
2828from pytfe .errors import NotFound
2929from pytfe .models import (
30+ AgentPoolAssignToProjectsOptions ,
3031 AgentPoolAssignToWorkspacesOptions ,
3132 AgentPoolCreateOptions ,
3233 AgentPoolListOptions ,
3334 AgentPoolRemoveFromWorkspacesOptions ,
3435 AgentPoolUpdateOptions ,
3536 AgentTokenCreateOptions ,
36- AgentPoolAssignToProjectsOptions ,
3737)
3838
3939
@@ -46,9 +46,7 @@ def main():
4646 workspace_id = os .environ .get (
4747 "TFE_WORKSPACE_ID"
4848 ) # optional, for workspace assignment
49- project_id = os .environ .get (
50- "TFE_PROJECT_ID"
51- ) # optional, for project assignment
49+ project_id = os .environ .get ("TFE_PROJECT_ID" ) # optional, for project assignment
5250
5351 if not token :
5452 print ("TFE_TOKEN environment variable is required" )
Original file line number Diff line number Diff line change 88 Agent ,
99 AgentListOptions ,
1010 AgentPool ,
11- AgentPoolAssignToWorkspacesOptions ,
1211 AgentPoolAssignToProjectsOptions ,
12+ AgentPoolAssignToWorkspacesOptions ,
1313 AgentPoolCreateOptions ,
1414 AgentPoolListOptions ,
1515 AgentPoolReadOptions ,
You can’t perform that action at this time.
0 commit comments