Considere um modelo de informação, onde um registro é representado por uma "tupla". Uma tupla (ou lista) nesse contexto é chamado de fato.
Exemplo de um fato: ('entity/2', 'idade', 18, True)
| # Automate similar pull request creation for multiple repositories with a small python 3.7 script. | |
| # All you have to do: | |
| # 1. Provide your Github credentials in "Globals" section | |
| # 2. Declare repositories and their base branches for which you want to create PR in "repositories_to_base" dictionary | |
| # 3. Complete PR info in "PR constants" section and "create_pr" function | |
| # 4. Implement "execute_changes" function | |
| import os | |
| from os import path | |
| from github import Github |