Skip to content

Conversation

@caiocbr
Copy link
Owner

@caiocbr caiocbr commented Mar 1, 2021

No description provided.

Repository owner deleted a comment from Davi-Holanda Mar 2, 2021
Copy link
Collaborator

@rebecacalazans rebecacalazans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comentários mais gerais:

  1. Troca o nome do PR pra descrever as mudanças. "Adding functions to manipulate google sheets" ou alguma coisa assim
  2. É bom você dar um merge da main na sua branch, pra pegar as mudanças novas

@caiocbr caiocbr force-pushed the Func_GoogleSheets_Api branch from 65a3926 to 3fe937f Compare March 3, 2021 01:45
@caiocbr caiocbr changed the title Func google sheets api Adiciona funções de utilidades do google sheets Mar 3, 2021
return request_body


def request_merge_rows(sheet_id, start_row, start_column, end_row, end_column):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Essa função é exatamente igual a função de cima tirando 1 linha. Faz uma função pra resolver os 2 passando 1 parâmetro diferente pra resolver a diferença. Já vai ter muita linha, não aumente mais ainda.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cara, acho q assim fica mais facil de entender colocar um parametro e explicar dentro da funcao pode ficar bem confuso, acho melhor deixar assim. Caso vc realmente ache q eu deva colocar tudo junto, como sugere q eu faca?
Mas sinceramente acho q fica muito mais simples mudar por questao de entendimento

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

def merge_columns_request(tab_id, start_row, start_column, end_row, end_column):
''' Pega o ID da tabela e o range de aplicacao da funcao
Retorna o request que junta as linhas num grid com o canto superior esquerdo em
(start_row, start_column) e canto inferior direito em (end_row-1, end_column-1)'''
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qual o formato que ele pega a coluna?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ele junta as linhas das colunas do grid

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ta mal explicado?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants