Giter VIP home page Giter VIP logo

erpclient's Issues

Fer que mostri info d'on està connectat

Al connectar a una base de dades al títol de la finestra hauria de mostrar on està connectat, així si es té més d'un client obert per diferents bases de dades al minimitzar es podria saber.

Augmentar el timeout d'impressió

Per defecte porta un timeout de 3 minuts, s'hauria d'augmentar al limit per tal que crides a reports llargues no s'anul·lin degut a aquest timeout.

Tratamiento de adjuntos con MsgPack

  • Actualmente el empaquetador de MsgPack, empaqueta las cadenas en unicode
  • m = msgpack.packb([method, self._db] + list(args))
  • Desde MsgPack trasladan esto:

Packer

use_bin_type=True by default. bytes are encoded in bin type in msgpack. If you are still using Python 2, you must use unicode for all string types. You can use use_bin_type=False to encode into old msgpack format.
encoding option is removed. UTF-8 is used always.
Unpacker

raw=False by default. It assumes str types are valid UTF-8 string and decode them to Python str (unicode) object.
encoding option is removed. You can use raw=True to support old format.
Default value of max_buffer_size is changed from 0 to 100 MiB.
Default value of strict_map_key is changed to True to avoid hashdos. You need to pass strict_map_key=False if you have data which contain map keys which type is not bytes or str.

fuente: https://github.com/msgpack/msgpack-python

  • Algunas librerías externas no están preparadas para trabajar en unicode y esperan un tipo str

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.