You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'))
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: