Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.1 prep #194

Merged
merged 30 commits into from
Oct 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
219f225
feat: dropdown of user's network volumes
DireLines Oct 30, 2023
de11899
Update generated VHS GIF
actions-user Oct 30, 2023
ccaa761
linter doesn't like lambdas
DireLines Oct 30, 2023
4cc56a1
Merge branch 'networkVolumeDropdown' of github.com:DireLines/runpod-p…
DireLines Oct 30, 2023
dcc8d57
Update generated VHS GIF
actions-user Oct 30, 2023
896a8e3
no qmark
DireLines Oct 30, 2023
81243cc
Merge branch 'networkVolumeDropdown' of github.com:DireLines/runpod-p…
DireLines Oct 30, 2023
53dab14
Update generated VHS GIF
actions-user Oct 30, 2023
e0e5843
Merge pull request #192 from DireLines/networkVolumeDropdown
justinmerrell Oct 30, 2023
e0f4b83
Update generated VHS GIF
actions-user Oct 30, 2023
3d47053
fix: resulting amark
justinmerrell Oct 30, 2023
94c6a10
Merge branch '1.3.1-prep' of https://github.com/runpod/runpod-python …
justinmerrell Oct 30, 2023
73ffb41
Update generated VHS GIF
actions-user Oct 30, 2023
3133926
Update vhs.yml
justinmerrell Oct 30, 2023
3fb7fc3
Merge branch '1.3.1-prep' of https://github.com/runpod/runpod-python …
justinmerrell Oct 30, 2023
0bc655f
Update CHANGELOG.md
justinmerrell Oct 30, 2023
7aba34f
fix: handle user has no volumes
DireLines Oct 30, 2023
cfba8aa
Merge branch 'runpod:main' into networkVolumeDropdown
DireLines Oct 30, 2023
6503413
Merge branch '1.3.1-prep' into networkVolumeDropdown
DireLines Oct 30, 2023
91eae84
Merge pull request #193 from DireLines/networkVolumeDropdown
justinmerrell Oct 30, 2023
c5c17b3
Update functions.py
justinmerrell Oct 30, 2023
89d04a6
fix: no network
justinmerrell Oct 31, 2023
ddd39cc
Update test_project_commands.py
justinmerrell Oct 31, 2023
1cfd85b
Update test_project_commands.py
justinmerrell Oct 31, 2023
b267fa2
Update test_project_commands.py
justinmerrell Oct 31, 2023
9d3aeb5
fix: tests
justinmerrell Oct 31, 2023
faf0a29
Update test_project_commands.py
justinmerrell Oct 31, 2023
9adc817
Update test_project_commands.py
justinmerrell Oct 31, 2023
ef8d888
Update test_project_commands.py
justinmerrell Oct 31, 2023
5bc87c2
fix: missing test
justinmerrell Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
linter doesn't like lambdas
  • Loading branch information
DireLines committed Oct 30, 2023
commit ccaa76158bf109a5b05c90e954c1a7e64c003bd4
4 changes: 3 additions & 1 deletion runpod/cli/groups/project/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def new_project_wizard(project_name, model_type, model_name, init_current_dir):
validate_project_name(project_name)

network_volumes = get_user()['networkVolumes']
print_net_vol = lambda vol: {'name':f"{vol['id']}: {vol['name']} ({vol['size']} GB, {vol['dataCenterId']})",'value':vol['id']}
def print_net_vol(vol):
return {'name':f"{vol['id']}: {vol['name']} ({vol['size']} GB, {vol['dataCenterId']})",
'value':vol['id']}
network_volumes = list(map(print_net_vol,network_volumes))
questions = [
{
Expand Down