mirror of
https://staging.allspice.dev/AllSpice-Demos/Actions-demo.git
synced 2025-04-23 17:03:42 +00:00
Debug
This commit is contained in:
parent
1ed402ceac
commit
103c09d976
@ -66,10 +66,10 @@ def write_to_file(file_name, string):
|
||||
repository = Repository.request(allspice, "AllSpice-Demos", "Actions-demo")
|
||||
|
||||
attributes = get_attributes(repository)
|
||||
repository_dict = {attribute: getattr(repository, attribute) for attribute in attributes}
|
||||
# repository_dict = {attribute: getattr(repository, attribute) for attribute in attributes}
|
||||
|
||||
# Convert the repository dictionary to a JSON string
|
||||
repository_json = json.dumps(repository_dict, indent=4)
|
||||
repository_json = json.dumps(attributes, indent=4)
|
||||
|
||||
# Write the JSON string to a file
|
||||
write_to_file(file_name, repository_json)
|
||||
|
Loading…
Reference in New Issue
Block a user