Open
Description
I saw you guys have a def assign_user_to_project(self, user_name, project_name, project_roles, limit=1000):
. how can I access this function from the following?
from blackduck import Client
import logging
import os
logging.basicConfig(
level=logging.INFO,
format="[%(asctime)s] {%(module)s:%(lineno)d} %(levelname)s - %(message)s"
)
bd = Client(
token=os.environ.get('blackduck_token'),
base_url="https://your.blackduck.url",
# verify=False # TLS certificate verification
)
for project in bd.get_resource(name='projects'):
print(project.get('name'))
Metadata
Metadata
Assignees
Labels
No labels